From 588b8ff2093483a104422ecea20235ebde293b3d Mon Sep 17 00:00:00 2001 From: advplyr Date: Sat, 15 Oct 2022 15:45:39 -0500 Subject: [PATCH] Fix:Collection covers --- client/components/covers/BookCover.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/components/covers/BookCover.vue b/client/components/covers/BookCover.vue index 0d421955..93a76f14 100644 --- a/client/components/covers/BookCover.vue +++ b/client/components/covers/BookCover.vue @@ -94,7 +94,8 @@ export default { return this.author }, placeholderUrl() { - return `${this.$config.routerBasePath}/book_placeholder.jpg` + const config = this.$config || this.$nuxt.$config + return `${config.routerBasePath}/book_placeholder.jpg` }, fullCoverUrl() { if (!this.libraryItem) return null