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 26, 2023
1 parent daba82f commit e2a2691
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 e2a2691

Please sign in to comment.