Browse Source

Fix filter initial state, resolves #530

pull/669/head
Hironsan 4 years ago
parent
commit
36ed1651c9
1 changed files with 4 additions and 1 deletions
  1. 5
      frontend/components/containers/annotation/FilterButton.vue

5
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'])

Loading…
Cancel
Save