mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-07-09 10:51:37 +00:00
added select all option for library items
This commit is contained in:
parent
140544ba77
commit
9baca4f16c
7 changed files with 169 additions and 10 deletions
|
|
@ -1,7 +1,7 @@
|
|||
<template>
|
||||
<div class="page" :class="streamLibraryItem ? 'streaming' : ''">
|
||||
<app-book-shelf-toolbar :page="id || ''" />
|
||||
<app-lazy-bookshelf :page="id || ''" />
|
||||
<app-book-shelf-toolbar :page="id || ''" @select-all-items="selectAllItems" />
|
||||
<app-lazy-bookshelf ref="lazyBookshelf" :page="id || ''" />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
|
@ -44,6 +44,13 @@ export default {
|
|||
return this.$store.state.streamLibraryItem
|
||||
}
|
||||
},
|
||||
methods: {}
|
||||
methods: {
|
||||
selectAllItems() {
|
||||
if (this.$refs.lazyBookshelf) {
|
||||
this.$refs.lazyBookshelf.selectAllItems()
|
||||
} else {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue