mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-27 16:54:04 +00:00
Fix: Search filters not resetting
This commit is contained in:
parent
57f79d231b
commit
07f02b2ceb
1 changed files with 4 additions and 2 deletions
|
@ -154,7 +154,7 @@
|
|||
<span class="ps-3">
|
||||
{{ getTaggedMonitorCount(tag) }}
|
||||
<span
|
||||
v-if="$router.currentRoute.value.query?.tags?.split(',').includes(tag.id)"
|
||||
v-if="$router.currentRoute.value.query?.tags?.split(',').includes(''+tag.id)"
|
||||
class="px-1 filter-active"
|
||||
>
|
||||
<font-awesome-icon icon="check" />
|
||||
|
@ -253,7 +253,9 @@ export default {
|
|||
},
|
||||
clearFilters() {
|
||||
this.$emit("updateFilter", {
|
||||
status: null,
|
||||
status: undefined,
|
||||
active: undefined,
|
||||
tags: undefined,
|
||||
});
|
||||
},
|
||||
getExistingTags() {
|
||||
|
|
Loading…
Reference in a new issue