mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-08-02 01:05:25 +02:00
Fix user permissions restricted by tag #421
This commit is contained in:
parent
6f7d2ef4cd
commit
2276228531
4 changed files with 15 additions and 7 deletions
|
@ -62,7 +62,7 @@ export default {
|
|||
},
|
||||
selectedItems() {
|
||||
return (this.value || []).map((v) => {
|
||||
return this.items.find((i) => i.value === v) || {}
|
||||
return this.items.find((i) => i.value === v) || { text: v, value: v }
|
||||
})
|
||||
}
|
||||
},
|
||||
|
@ -113,6 +113,7 @@ export default {
|
|||
removeItem(itemValue) {
|
||||
var remaining = this.selected.filter((i) => i !== itemValue)
|
||||
this.$emit('input', remaining)
|
||||
|
||||
this.$nextTick(() => {
|
||||
this.recalcMenuPos()
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue