Update:Remove RSS feeds from login response payload and include feeds from library items request

This commit is contained in:
advplyr 2022-12-31 10:59:12 -06:00
parent 8bbfee334c
commit 0e6b0d3eff
9 changed files with 36 additions and 55 deletions

View file

@ -260,7 +260,7 @@ export default {
return this.bookCoverAspectRatio === 1
},
sizeMultiplier() {
var baseSize = this.squareAspectRatio ? 192 : 120
const baseSize = this.squareAspectRatio ? 192 : 120
return this.width / baseSize
},
title() {
@ -538,11 +538,11 @@ export default {
return this.author
},
isAlternativeBookshelfView() {
var constants = this.$constants || this.$nuxt.$constants
const constants = this.$constants || this.$nuxt.$constants
return this.bookshelfView === constants.BookshelfView.DETAIL
},
isAuthorBookshelfView() {
var constants = this.$constants || this.$nuxt.$constants
const constants = this.$constants || this.$nuxt.$constants
return this.bookshelfView === constants.BookshelfView.AUTHOR
},
titleDisplayBottomOffset() {
@ -552,7 +552,7 @@ export default {
},
rssFeed() {
if (this.booksInSeries) return null
return this.store.getters['feeds/getFeedForItem'](this.libraryItemId)
return this._libraryItem.rssFeed || null
}
},
methods: {