Skip to content

Commit

Permalink
Fix bug that keeps the filtering tab highlighted
Browse files Browse the repository at this point in the history
  • Loading branch information
dbrembilla committed Jan 2, 2025
1 parent 5dadb62 commit 309c1de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/resources/assets/js/components/filteringTab.vue
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export default {
removeFilter(key){
this.activeFilters.splice(key, 1)
//If its the first filter to be removed, remove the 'And' or 'Or'
if (key == 0){
if (this.activeFilters.length > 0 & key == 0){
this.activeFilters[0].name = this.activeFilters[0].name.substring(
this.activeFilters[0].name.indexOf(' ', 0)
)
Expand Down

0 comments on commit 309c1de

Please sign in to comment.