X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=ui%2Fweb%2Fsrc%2Fviews%2FChargingStationsView.vue;h=320731f71df5b4c2fd5a48727f272d957d481fe2;hb=f6cb17676bcd54d2aa28fe9f0eaa8797ac616873;hp=a3f91ec9becf94bf51746325ba8109a00f92b29a;hpb=7e31543058b67b8ca9991b01820f88ab7f4f16b0;p=e-mobility-charging-stations-simulator.git diff --git a/ui/web/src/views/ChargingStationsView.vue b/ui/web/src/views/ChargingStationsView.vue index a3f91ec9..320731f7 100644 --- a/ui/web/src/views/ChargingStationsView.vue +++ b/ui/web/src/views/ChargingStationsView.vue @@ -20,7 +20,7 @@ () => { setToLocalStorage('uiServerConfigurationIndex', state.uiServerIndex) clearToggleButtons() - $router.currentRoute.value.name !== 'charging-stations' && + $route.name !== 'charging-stations' && $router.push({ name: 'charging-stations' }) }, { once: true } @@ -58,7 +58,7 @@