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">
|
<span class="ps-3">
|
||||||
{{ getTaggedMonitorCount(tag) }}
|
{{ getTaggedMonitorCount(tag) }}
|
||||||
<span
|
<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"
|
class="px-1 filter-active"
|
||||||
>
|
>
|
||||||
<font-awesome-icon icon="check" />
|
<font-awesome-icon icon="check" />
|
||||||
|
@ -253,7 +253,9 @@ export default {
|
||||||
},
|
},
|
||||||
clearFilters() {
|
clearFilters() {
|
||||||
this.$emit("updateFilter", {
|
this.$emit("updateFilter", {
|
||||||
status: null,
|
status: undefined,
|
||||||
|
active: undefined,
|
||||||
|
tags: undefined,
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
getExistingTags() {
|
getExistingTags() {
|
||||||
|
|
Loading…
Reference in a new issue