From: Jérôme Benoit Date: Wed, 28 Feb 2024 23:11:21 +0000 (+0100) Subject: fix(ui): ensure templates are refreshed at UI server change X-Git-Tag: v1.2.38~27 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=18c7fecb7a062a74cf13052270f8b1379f9fb2f6;p=e-mobility-charging-stations-simulator.git fix(ui): ensure templates are refreshed at UI server change Signed-off-by: Jérôme Benoit --- diff --git a/ui/web/src/views/ChargingStationsView.vue b/ui/web/src/views/ChargingStationsView.vue index 03f73d63..5123ece6 100644 --- a/ui/web/src/views/ChargingStationsView.vue +++ b/ui/web/src/views/ChargingStationsView.vue @@ -20,6 +20,7 @@ 'open', () => { setToLocalStorage('uiServerConfigurationIndex', state.uiServerIndex) + delete app?.appContext.config.globalProperties.$templates }, { once: true } )