mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-23 23:04:04 +00:00
Fix filters active
This commit is contained in:
parent
6618ba68e5
commit
1a70dac690
1 changed files with 1 additions and 1 deletions
|
@ -217,7 +217,7 @@ export default {
|
||||||
* @returns {boolean} True if any filter is active, false otherwise.
|
* @returns {boolean} True if any filter is active, false otherwise.
|
||||||
*/
|
*/
|
||||||
filtersActive() {
|
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: {
|
watch: {
|
||||||
|
|
Loading…
Reference in a new issue