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
ebf450da
Commit
ebf450da
authored
Mar 02, 2022
by
Florie Guibert
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix loading spinner for legacy Filtered search dropdown
Changelog: fixed
parent
d58c9b96
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
app/assets/javascripts/filtered_search/filtered_search_dropdown.js
...s/javascripts/filtered_search/filtered_search_dropdown.js
+2
-1
No files found.
app/assets/javascripts/filtered_search/filtered_search_dropdown.js
View file @
ebf450da
import
{
loadingIconForLegacyJS
}
from
'
~/loading_icon_for_legacy_js
'
;
import
{
FILTER_TYPE
}
from
'
./constants
'
;
import
DropdownUtils
from
'
./dropdown_utils
'
;
import
FilteredSearchDropdownManager
from
'
./filtered_search_dropdown_manager
'
;
...
...
@@ -13,7 +14,7 @@ export default class FilteredSearchDropdown {
this
.
filter
=
filter
;
this
.
dropdown
=
dropdown
;
this
.
loadingTemplate
=
`<div class="filter-dropdown-loading">
<span class="spinner"></span>
${
loadingIconForLegacyJS
().
outerHTML
}
</div>`
;
this
.
bindEvents
();
}
...
...
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