diff --git a/frontend/components/containers/annotation/FilterButton.vue b/frontend/components/containers/annotation/FilterButton.vue index 8145cb4a..2e59f46e 100644 --- a/frontend/components/containers/annotation/FilterButton.vue +++ b/frontend/components/containers/annotation/FilterButton.vue @@ -59,7 +59,6 @@ export default { watch: { selected() { - this.initSearchOptions() this.updateSearchOptions({ isChecked: this.items[this.selected].param, filterName: this.getFilterOption @@ -74,6 +73,10 @@ export default { } }, + created() { + this.initSearchOptions() + }, + methods: { ...mapActions('documents', ['getDocumentList']), ...mapMutations('documents', ['setCurrent', 'updateSearchOptions', 'initSearchOptions'])