diff options
author | Phil Hughes <me@iamphill.com> | 2017-03-13 16:05:32 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-03-16 11:42:41 +0300 |
commit | b1d07760e66ff2db3efad9f26c7f5fdf6e8ca4d0 (patch) | |
tree | 05cac81163a3921b831df17c70a3d02a035b6855 /app/assets/javascripts | |
parent | 3e95bd97653754b154938e9ba1ff87bc6436ba4c (diff) |
Fixed search specs
Clean up the events when the modal window is closed
Diffstat (limited to 'app/assets/javascripts')
-rw-r--r-- | app/assets/javascripts/boards/components/modal/filters.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/assets/javascripts/boards/components/modal/filters.js b/app/assets/javascripts/boards/components/modal/filters.js index bf137b27d29..030134bd4b8 100644 --- a/app/assets/javascripts/boards/components/modal/filters.js +++ b/app/assets/javascripts/boards/components/modal/filters.js @@ -15,7 +15,8 @@ export default { this.filteredSearch = new FilteredSearchBoards(this.store, false); }, - destroyed() { + beforeDestroy() { + this.filteredSearch.cleanup(); FilteredSearchContainer.container = document; this.store.path = ''; }, |