From 1a70dac69058d9d6610aabbdcd2dd78bf3e817e4 Mon Sep 17 00:00:00 2001 From: Suven-p Date: Fri, 1 Nov 2024 16:25:24 +0545 Subject: [PATCH] Fix filters active --- src/components/MonitorList.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/MonitorList.vue b/src/components/MonitorList.vue index 8b85b9762..49be97ed5 100644 --- a/src/components/MonitorList.vue +++ b/src/components/MonitorList.vue @@ -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: {