Remove old coverAspectRatio server setting

This commit is contained in:
advplyr committed 2022-10-22 09:01:00 -05:00
1 parent 88e9dabaaa
commit 0e96465d74
3 files changed
+2 -19

No files matched your search

-4
View File
@@ -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