mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-12-20 18:59:37 +00:00
Remove old coverAspectRatio server setting
This commit is contained in:
parent
88e9dabaaa
commit
0e96465d74
3 changed files with 2 additions and 19 deletions
|
|
@ -37,10 +37,6 @@ export const getters = {
|
|||
if (!state.serverSettings) return null
|
||||
return state.serverSettings[key]
|
||||
},
|
||||
getBookCoverAspectRatio: state => {
|
||||
if (!state.serverSettings || isNaN(state.serverSettings.coverAspectRatio)) return 1
|
||||
return state.serverSettings.coverAspectRatio === 0 ? 1.6 : 1
|
||||
},
|
||||
getNumLibraryItemsSelected: state => state.selectedLibraryItems.length,
|
||||
getLibraryItemIdStreaming: state => {
|
||||
return state.streamLibraryItem ? state.streamLibraryItem.id : null
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue