mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-12-03 13:44:09 +01:00
Remove old coverAspectRatio server setting
This commit is contained in:
1 parent
88e9dabaaa
commit
0e96465d74
3 files changed
+2
-19
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user