Commit ebf450da authored by Florie Guibert's avatar Florie Guibert

Fix loading spinner for legacy Filtered search dropdown

Changelog: fixed
parent d58c9b96
import { loadingIconForLegacyJS } from '~/loading_icon_for_legacy_js';
import { FILTER_TYPE } from './constants'; import { FILTER_TYPE } from './constants';
import DropdownUtils from './dropdown_utils'; import DropdownUtils from './dropdown_utils';
import FilteredSearchDropdownManager from './filtered_search_dropdown_manager'; import FilteredSearchDropdownManager from './filtered_search_dropdown_manager';
...@@ -13,7 +14,7 @@ export default class FilteredSearchDropdown { ...@@ -13,7 +14,7 @@ export default class FilteredSearchDropdown {
this.filter = filter; this.filter = filter;
this.dropdown = dropdown; this.dropdown = dropdown;
this.loadingTemplate = `<div class="filter-dropdown-loading"> this.loadingTemplate = `<div class="filter-dropdown-loading">
<span class="spinner"></span> ${loadingIconForLegacyJS().outerHTML}
</div>`; </div>`;
this.bindEvents(); this.bindEvents();
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment