Fixed search param being used in the add issues modal
Also fixed the input placeholder in the modal not being displayed when first opened
This commit is contained in:
parent
8548aaa08d
commit
ee8f09dafb
|
@ -14,6 +14,8 @@ export default {
|
|||
|
||||
this.filteredSearch = new FilteredSearchBoards(this.store);
|
||||
this.filteredSearch.removeTokens();
|
||||
this.filteredSearch.handleInputPlaceholder();
|
||||
this.filteredSearch.toggleClearSearchButton();
|
||||
},
|
||||
beforeDestroy() {
|
||||
this.filteredSearch.cleanup();
|
||||
|
|
|
@ -28,6 +28,8 @@ export default class FilteredSearchBoards extends gl.FilteredSearchManager {
|
|||
[].forEach.call(tokens, (el) => {
|
||||
el.parentNode.removeChild(el);
|
||||
});
|
||||
|
||||
this.filteredSearchInput.value = '';
|
||||
}
|
||||
|
||||
updateTokens() {
|
||||
|
|
Loading…
Reference in New Issue