check against null which was failing on production only (#58)

This commit is contained in:
Oğuzhan Koral
2025-08-27 10:37:16 +03:00
committed by GitHub
parent 047dbff259
commit 1cdd5c89a4
+3 -1
View File
@@ -545,7 +545,9 @@ export const useHostAppStore = defineStore('hostAppStore', () => {
if (canGetGlobalConfig) {
const globalConfig = await app.$configBinding.getGlobalConfig()
isUpdateNotificationDisabled.value = globalConfig.isUpdateNotificationDisabled
if (globalConfig) {
isUpdateNotificationDisabled.value = globalConfig.isUpdateNotificationDisabled
}
}
// Checks whether new version available for the connector or not and throws a toast notification if any.