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 | |
parent | 3e95bd97653754b154938e9ba1ff87bc6436ba4c (diff) |
Fixed search specs
Clean up the events when the modal window is closed
Diffstat (limited to 'app/assets')
-rw-r--r-- | app/assets/javascripts/boards/components/modal/filters.js | 3 | ||||
-rw-r--r-- | app/assets/stylesheets/pages/boards.scss | 3 |
2 files changed, 4 insertions, 2 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 = ''; }, diff --git a/app/assets/stylesheets/pages/boards.scss b/app/assets/stylesheets/pages/boards.scss index 541c46cbb8c..f9ee33019cd 100644 --- a/app/assets/stylesheets/pages/boards.scss +++ b/app/assets/stylesheets/pages/boards.scss @@ -421,7 +421,8 @@ display: flex; .issues-filters { - width: 100%; + -webkit-flex: 1; + flex: 1; } } |