From e0ff2affdce111b6eff9ae25cf9c2908d56ac4be Mon Sep 17 00:00:00 2001 From: Rafael Araujo Lehmkuhl Date: Tue, 26 Sep 2023 17:42:28 -0300 Subject: [PATCH] Reload application on cold boot This fixes a strange behavior where trying to configure a widget will open the configuration menu of them all. This only happens on a cold boot. --- src/stores/widgetManager.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/stores/widgetManager.ts b/src/stores/widgetManager.ts index 681e529c0..e97a90888 100644 --- a/src/stores/widgetManager.ts +++ b/src/stores/widgetManager.ts @@ -394,6 +394,7 @@ export const useWidgetManagerStore = defineStore('widget-manager', () => { savedProfiles.value.push(userProfile) }) loadProfile(savedProfiles.value[0]) + location.reload() } const resetWidgetsEditingState = (forcedState?: boolean): void => {