diff --git a/client/assets/draggable.css b/client/assets/draggable.css index f37683f0..48dca6b8 100644 --- a/client/assets/draggable.css +++ b/client/assets/draggable.css @@ -14,6 +14,9 @@ #librariesTable .item { cursor: n-resize; } +.drag-handle { + cursor: n-resize; +} .list-group-item:not(.exclude) { cursor: n-resize; } diff --git a/client/components/modals/EditModal.vue b/client/components/modals/EditModal.vue index 5ed09b1a..da17650a 100644 --- a/client/components/modals/EditModal.vue +++ b/client/components/modals/EditModal.vue @@ -175,6 +175,7 @@ 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) @@ -186,6 +187,7 @@ export default { } }, goNextBook() { + console.log('GO NEXT', this.currentBookshelfIndex) if (this.currentBookshelfIndex >= this.bookshelfBookIds.length - 1) return var nextBookId = this.bookshelfBookIds[this.currentBookshelfIndex + 1] @@ -224,6 +226,7 @@ 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) { diff --git a/client/components/modals/UserCollectionsModal.vue b/client/components/modals/UserCollectionsModal.vue index 62f9a9d4..121401e1 100644 --- a/client/components/modals/UserCollectionsModal.vue +++ b/client/components/modals/UserCollectionsModal.vue @@ -150,8 +150,6 @@ export default { \ No newline at end of file diff --git a/client/components/tables/collection/BookTableRow.vue b/client/components/tables/collection/BookTableRow.vue index 08c2fbab..e641888f 100644 --- a/client/components/tables/collection/BookTableRow.vue +++ b/client/components/tables/collection/BookTableRow.vue @@ -1,6 +1,11 @@ \ No newline at end of file diff --git a/client/store/user.js b/client/store/user.js index b9bf7c84..67e65a08 100644 --- a/client/store/user.js +++ b/client/store/user.js @@ -51,6 +51,9 @@ export const getters = { if (!state.user) return false if (getters.getUserCanAccessAllLibraries) return true return getters.getLibrariesAccessible.includes(libraryId) + }, + getCollection: state => id => { + return state.collections.find(c => c.id === id) } } diff --git a/package.json b/package.json index d3692c81..e0003dfd 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "audiobookshelf", - "version": "1.6.9", + "version": "1.6.10", "description": "Self-hosted audiobook server for managing and playing audiobooks", "main": "index.js", "scripts": {