Skip to content

Commit

Permalink
fix(ui): ensure opened actions are closed at UI server switch
Browse files Browse the repository at this point in the history
Signed-off-by: Jérôme Benoit <[email protected]>
  • Loading branch information
Jérôme Benoit committed Feb 28, 2024
1 parent de3e2a4 commit a4edfbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/web/src/views/ChargingStationsView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
() => {
setToLocalStorage<number>('uiServerConfigurationIndex', state.uiServerIndex)
delete app?.appContext.config.globalProperties.$templates
$router.currentRoute.value.name === 'add-charging-stations' &&
$router.currentRoute.value.name !== 'charging-stations' &&
$router.push({ name: 'charging-stations' })
},
{ once: true }
Expand Down

0 comments on commit a4edfbb

Please sign in to comment.