From a0f8e6fb93801bab0e7a60e057f79575d4ed4187 Mon Sep 17 00:00:00 2001 From: advplyr Date: Sun, 26 Feb 2023 12:54:56 -0600 Subject: [PATCH] Fix:Initializing haptic feedback setting on app launch #603 --- layouts/default.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/default.vue b/layouts/default.vue index a8fed1da..17bc502b 100644 --- a/layouts/default.vue +++ b/layouts/default.vue @@ -101,7 +101,7 @@ export default { const deviceData = await this.$db.getDeviceData() let serverConfig = null if (deviceData) { - this.$store.commit('globals/setHapticFeedback', deviceData.hapticFeedback) + this.$store.commit('globals/setHapticFeedback', deviceData.deviceSettings?.hapticFeedback) if (deviceData.lastServerConnectionConfigId && deviceData.serverConnectionConfigs.length) { serverConfig = deviceData.serverConnectionConfigs.find((scc) => scc.id == deviceData.lastServerConnectionConfigId)