Add: Sortable collection books, play from collections, collection book table row updates #151

This commit is contained in:
advplyr 2021-11-07 18:11:29 -06:00
parent 0980b6d5d5
commit 5e5792c0f8
21 changed files with 270 additions and 70 deletions

View file

@ -175,7 +175,6 @@ export default {
},
methods: {
goPrevBook() {
console.log('GO PREV', this.currentBookshelfIndex)
if (this.currentBookshelfIndex - 1 < 0) return
var prevBookId = this.bookshelfBookIds[this.currentBookshelfIndex - 1]
var prevBook = this.$store.getters['audiobooks/getAudiobook'](prevBookId)
@ -187,7 +186,6 @@ export default {
}
},
goNextBook() {
console.log('GO NEXT', this.currentBookshelfIndex)
if (this.currentBookshelfIndex >= this.bookshelfBookIds.length - 1) return
var nextBookId = this.bookshelfBookIds[this.currentBookshelfIndex + 1]
@ -226,7 +224,6 @@ export default {
}
},
hotkey(action) {
console.log('HOTKEY', action)
if (action === this.$hotkeys.Modal.NEXT_PAGE) {
this.goNextBook()
} else if (action === this.$hotkeys.Modal.PREV_PAGE) {