mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-08-04 18:24:46 +02:00
Lazy bookshelf finalized
This commit is contained in:
parent
5c92aef048
commit
1ef9a689bc
53 changed files with 914 additions and 795 deletions
|
@ -51,7 +51,8 @@ export default {
|
|||
var instance = new ComponentClass({
|
||||
propsData: {
|
||||
index: index,
|
||||
width: this.entityWidth
|
||||
width: this.entityWidth,
|
||||
showVolumeNumber: this.entityName === 'series-books'
|
||||
},
|
||||
created() {
|
||||
this.$on('edit', (entity) => {
|
||||
|
@ -73,7 +74,7 @@ export default {
|
|||
}
|
||||
if (this.isSelectionMode) {
|
||||
instance.setSelectionMode(true)
|
||||
if (this.selectedAudiobooks.includes(instance.audiobookId) || this.isSelectAll) {
|
||||
if (instance.audiobookId && this.selectedAudiobooks.includes(instance.audiobookId) || this.isSelectAll) {
|
||||
instance.selected = true
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue