diff --git a/app/javascript/packs/vue/bmt_filter.js b/app/javascript/packs/vue/bmt_filter.js index 310674459..738407eb3 100644 --- a/app/javascript/packs/vue/bmt_filter.js +++ b/app/javascript/packs/vue/bmt_filter.js @@ -57,6 +57,11 @@ window.initBMTFilter = () => { // prevent closing of dropdown $('#bmtFilterContainer').on('click', (e) => e.stopPropagation()); + // close saved filters dropdown + $('#bmtFiltersDropdownButton').on('hidden.bs.dropdown', (e) => { + $('.saved-filters-container').removeClass('open'); + }); + $("#saveBmtFilterForm" ) .off() .on('ajax:before', function() { diff --git a/app/javascript/vue/bmt_filter/container.vue b/app/javascript/vue/bmt_filter/container.vue index d16f72d61..b188495ad 100644 --- a/app/javascript/vue/bmt_filter/container.vue +++ b/app/javascript/vue/bmt_filter/container.vue @@ -1,8 +1,8 @@