update library tags handling
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
>
|
||||
<multiple-tags-select
|
||||
id="tags-select" :button-text="$t('options.filters.choices.tags')"
|
||||
v-model="selectedTags" :options="tagsOptions"
|
||||
v-model="activeTags" :options="tagsOptions"
|
||||
/>
|
||||
</b-form-group>
|
||||
|
||||
@@ -94,12 +94,13 @@ export default {
|
||||
|
||||
computed: {
|
||||
...mapGetters([
|
||||
'nodesDepartsOptions',
|
||||
'tagsOptions',
|
||||
'nodebook',
|
||||
'mode',
|
||||
'nodeDepartId',
|
||||
'search',
|
||||
'nodebook',
|
||||
'nodesDepartsOptions',
|
||||
'tagsOptions'
|
||||
'tags'
|
||||
]),
|
||||
|
||||
show () {
|
||||
@@ -125,6 +126,13 @@ export default {
|
||||
set (value) {
|
||||
this.$store.commit('SET_SEARCH', value)
|
||||
}
|
||||
},
|
||||
|
||||
activeTags: {
|
||||
get () { return this.tags },
|
||||
set (value) {
|
||||
this.$store.commit('UPDATE_TAGS', value)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user