Remove old coverAspectRatio server setting

This commit is contained in:
advplyr 2022-10-22 09:01:00 -05:00
parent 88e9dabaaa
commit 0e96465d74
3 changed files with 2 additions and 19 deletions

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