Skip to content

Commit

Permalink
Reload application on cold boot
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
rafaellehmkuhl committed Sep 27, 2023
1 parent fcc11d3 commit 8b9fb23
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/stores/widgetManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 => {
Expand Down

0 comments on commit 8b9fb23

Please sign in to comment.