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:
Phil Hughes 2017-03-21 14:44:51 +00:00
parent 8548aaa08d
commit ee8f09dafb
2 changed files with 4 additions and 0 deletions

View File

@ -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();

View File

@ -28,6 +28,8 @@ export default class FilteredSearchBoards extends gl.FilteredSearchManager {
[].forEach.call(tokens, (el) => {
el.parentNode.removeChild(el);
});
this.filteredSearchInput.value = '';
}
updateTokens() {