Skip to content

Commit

Permalink
Update:Default to alt view so that wooden shelf does not show on init…
Browse files Browse the repository at this point in the history
…ial load
  • Loading branch information
advplyr committed Jan 1, 2024
1 parent 19b928d commit 6f1b93b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions store/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,15 +64,15 @@ export const getters = {
return state.serverSettings[key]
},
getJumpForwardTime: state => {
if (!state.deviceData || !state.deviceData.deviceSettings) return 10
if (!state.deviceData?.deviceSettings) return 10
return state.deviceData.deviceSettings.jumpForwardTime || 10
},
getJumpBackwardsTime: state => {
if (!state.deviceData || !state.deviceData.deviceSettings) return 10
if (!state.deviceData?.deviceSettings) return 10
return state.deviceData.deviceSettings.jumpBackwardsTime || 10
},
getAltViewEnabled: state => {
if (!state.deviceData || !state.deviceData.deviceSettings) return false
if (!state.deviceData?.deviceSettings) return true
return state.deviceData.deviceSettings.enableAltView
},
getOrientationLockSetting: state => {
Expand Down

0 comments on commit 6f1b93b

Please sign in to comment.