Fix filters active

This commit is contained in:
Suven-p 2024-11-01 16:25:24 +05:45
parent 6618ba68e5
commit 1a70dac690

View file

@ -217,7 +217,7 @@ export default {
* @returns {boolean} True if any filter is active, false otherwise.
*/
filtersActive() {
return this.filterState.status != null || this.filterState.active != null || this.filterState.tags != null || this.searchText !== "";
return this.filterState.status.length > 0 || this.filterState.active.length > 0 || this.filterState.tags.length > 0 || this.searchText !== "";
}
},
watch: {