mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2026-11-13 12:23:47 +01:00
add getter method for 'enableAltView'
This commit is contained in:
1 parent
d52c326123
commit
a60ff00f7e
1 file changed
+4
@@ -47,6 +47,10 @@ export const getters = {
|
||||
getJumpBackwardsTime: state => {
|
||||
if (!state.deviceData || !state.deviceData.deviceSettings) return 10
|
||||
return state.deviceData.deviceSettings.jumpBackwardsTime || 10
|
||||
},
|
||||
getAltViewEnabled: state => {
|
||||
if (!state.deviceData || !state.deviceData.deviceSettings) return false
|
||||
return state.deviceData.deviceSettings.enableAltView
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user