mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-12-19 10:19:37 +00:00
Merge fbe9971a8b into 626596b192
This commit is contained in:
commit
ce46471e18
2 changed files with 2 additions and 2 deletions
|
|
@ -278,7 +278,7 @@ export default {
|
|||
})
|
||||
},
|
||||
insertNewItem(item) {
|
||||
this.selected.push(item)
|
||||
if (!this.selected.includes(item)) this.selected.push(item)
|
||||
this.$emit('input', this.selected)
|
||||
this.$emit('newItem', item)
|
||||
this.textInput = null
|
||||
|
|
|
|||
|
|
@ -287,7 +287,7 @@ export default {
|
|||
})
|
||||
},
|
||||
insertNewItem(item) {
|
||||
this.selected.push(item)
|
||||
if (!this.selected.find((i) => i.name === item.name)) this.selected.push(item)
|
||||
this.$emit('input', this.selected)
|
||||
this.$emit('newItem', item)
|
||||
this.textInput = null
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue