mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-07-08 05:45:26 +02:00
Add:Server option to use square cover images #210
This commit is contained in:
@@ -28,6 +28,10 @@ export const getters = {
|
||||
getIsAudiobookSelected: state => audiobookId => {
|
||||
return !!state.selectedAudiobooks.includes(audiobookId)
|
||||
},
|
||||
getServerSetting: state => key => {
|
||||
if (!state.serverSettings) return null
|
||||
return state.serverSettings[key]
|
||||
},
|
||||
getNumAudiobooksSelected: state => state.selectedAudiobooks.length,
|
||||
getAudiobookIdStreaming: state => {
|
||||
return state.streamAudiobook ? state.streamAudiobook.id : null
|
||||
|
||||
Reference in New Issue
Block a user