Avoids filter sidebar opening right after advanced search is closed on mobile.
This commit is contained in:
parent
156fabb6ed
commit
985fa400ba
|
@ -794,7 +794,9 @@
|
|||
if (newValue == false){
|
||||
this.$eventBusSearch.$emit('closeAdvancedSearch');
|
||||
this.futureSearchQuery = '';
|
||||
this.isFiltersModalActive = true;
|
||||
|
||||
if ( !this.isMobileScreen )
|
||||
this.isFiltersModalActive = !this.startWithFiltersHidden;
|
||||
} else {
|
||||
this.isFiltersModalActive = false;
|
||||
}
|
||||
|
|
|
@ -827,7 +827,9 @@
|
|||
openAdvancedSearch(newValue){
|
||||
if (newValue == false){
|
||||
this.$eventBusSearch.$emit('closeAdvancedSearch');
|
||||
this.isFiltersModalActive = !this.startWithFiltersHidden;
|
||||
|
||||
if ( !this.isMobileScreen )
|
||||
this.isFiltersModalActive = !this.startWithFiltersHidden;
|
||||
} else {
|
||||
this.isFiltersModalActive = false;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue