diff --git a/src/views/options/TagManagement.vue b/src/views/options/TagManagement.vue index 02e027a..122fb14 100644 --- a/src/views/options/TagManagement.vue +++ b/src/views/options/TagManagement.vue @@ -25,7 +25,7 @@ const tags = shallowRef(); const filteredTags = shallowRef(); - watch([search, tags], async () => { + watch([search, tags, type], async () => { filteredTags.value = getFilteredTags(search.value, tags.value?.filter(x => x.type === type.value)); }, {immediate: true});