Fix: Search filters not resetting

pull/4496/head
NihadBadalov 2 months ago
parent 57f79d231b
commit 07f02b2ceb

@ -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…
Cancel
Save