Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
0f88dc24
Commit
0f88dc24
authored
Apr 07, 2022
by
Jose Vargas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix missing clear cache text inside the dependency proxy dropdown
Changelog: fixed
parent
55de7a0d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
app/assets/javascripts/packages_and_registries/dependency_proxy/app.vue
...ascripts/packages_and_registries/dependency_proxy/app.vue
+1
-0
spec/frontend/packages_and_registries/dependency_proxy/app_spec.js
...tend/packages_and_registries/dependency_proxy/app_spec.js
+6
-0
No files found.
app/assets/javascripts/packages_and_registries/dependency_proxy/app.vue
View file @
0f88dc24
...
...
@@ -55,6 +55,7 @@ export default {
deleteCacheAlertMessageSuccess
:
s__
(
'
DependencyProxy|All items in the cache are scheduled for removal.
'
,
),
clearCache
:
s__
(
'
DependencyProxy|Clear cache
'
),
},
confirmClearCacheModal
:
'
confirm-clear-cache-modal
'
,
modalButtons
:
{
...
...
spec/frontend/packages_and_registries/dependency_proxy/app_spec.js
View file @
0f88dc24
...
...
@@ -259,6 +259,12 @@ describe('DependencyProxyApp', () => {
it
(
'
shows the clear cache dropdown list
'
,
()
=>
{
expect
(
findClearCacheDropdownList
().
exists
()).
toBe
(
true
);
const
clearCacheDropdownItem
=
findClearCacheDropdownList
().
findComponent
(
GlDropdownItem
,
);
expect
(
clearCacheDropdownItem
.
text
()).
toBe
(
'
Clear cache
'
);
});
it
(
'
shows the clear cache confirmation modal
'
,
()
=>
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment