diff --git a/client/components/AudioPlayer.vue b/client/components/AudioPlayer.vue index 22f4c241..c297ba91 100644 --- a/client/components/AudioPlayer.vue +++ b/client/components/AudioPlayer.vue @@ -155,13 +155,13 @@ export default { methods: { audioPlayed() { if (!this.$refs.audio) return - console.log('Audio Played', this.$refs.audio.paused, this.$refs.audio.currentTime) + // console.log('Audio Played', this.$refs.audio.paused, this.$refs.audio.currentTime) this.playStartTime = Date.now() this.isPaused = this.$refs.audio.paused }, audioPaused() { if (!this.$refs.audio) return - console.log('Audio Paused', this.$refs.audio.paused, this.$refs.audio.currentTime) + // console.log('Audio Paused', this.$refs.audio.paused, this.$refs.audio.currentTime) this.isPaused = this.$refs.audio.paused }, audioError(err) { diff --git a/client/components/app/Appbar.vue b/client/components/app/Appbar.vue index 3d9bf52b..47bea87f 100644 --- a/client/components/app/Appbar.vue +++ b/client/components/app/Appbar.vue @@ -128,6 +128,7 @@ export default { methods: { async back() { var popped = await this.$store.dispatch('popRoute') + if (popped) this.$store.commit('setIsRoutingBack', true) var backTo = popped || '/' this.$router.push(backTo) }, diff --git a/client/components/app/BookShelf.vue b/client/components/app/BookShelf.vue index cda2031d..7010d21a 100644 --- a/client/components/app/BookShelf.vue +++ b/client/components/app/BookShelf.vue @@ -298,12 +298,12 @@ export default { this.$nextTick(this.setBookshelfEntities) }, audiobooksUpdated() { - console.log('[AudioBookshelf] Audiobooks Updated') + console.log('[Bookshelf] Audiobooks Updated') this.setBookshelfEntities() }, collectionsUpdated() { if (!this.isCollections) return - console.log('[AudioBookshelf] Collections Updated') + console.log('[Bookshelf] Collections Updated') this.setBookshelfEntities() }, buildSearchParams() { diff --git a/client/components/app/BookShelfRow.vue b/client/components/app/BookShelfRow.vue index 207c795d..a7fd507b 100644 --- a/client/components/app/BookShelfRow.vue +++ b/client/components/app/BookShelfRow.vue @@ -31,10 +31,10 @@
- chevron_left + chevron_left
- chevron_right + chevron_right
diff --git a/client/components/cards/GroupCard.vue b/client/components/cards/GroupCard.vue index 3e2143b3..842bc279 100644 --- a/client/components/cards/GroupCard.vue +++ b/client/components/cards/GroupCard.vue @@ -9,10 +9,10 @@

{{ groupName }}

-
+

{{ bookItems.length }}

-
+
diff --git a/client/components/modals/EditCollectionModal.vue b/client/components/modals/EditCollectionModal.vue index 19a84164..c198ba3d 100644 --- a/client/components/modals/EditCollectionModal.vue +++ b/client/components/modals/EditCollectionModal.vue @@ -8,7 +8,10 @@
- +
+ + +
@@ -21,6 +24,8 @@ Save
+ +
@@ -31,7 +36,8 @@ export default { return { processing: false, newCollectionName: null, - newCollectionDescription: null + newCollectionDescription: null, + showUploadImageModal: false } }, watch: { diff --git a/client/components/modals/EditModal.vue b/client/components/modals/EditModal.vue index da17650a..5ed09b1a 100644 --- a/client/components/modals/EditModal.vue +++ b/client/components/modals/EditModal.vue @@ -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) { diff --git a/client/components/modals/Modal.vue b/client/components/modals/Modal.vue index d9b667eb..a68df953 100644 --- a/client/components/modals/Modal.vue +++ b/client/components/modals/Modal.vue @@ -1,5 +1,5 @@