X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=ui%2Fweb%2Fsrc%2Fcomponents%2Fcharging-stations%2FCSData.vue;h=b8fb0662b4b8a16e086e3bfef1ad33544a3d35fc;hb=f292861c82c819c87719364485f5bba141eb51fa;hp=300cfa441ea35b2fdfebf25de22bf31329469a7f;hpb=fa5d129a53f8b3d30685c017fa0420da66224ed5;p=e-mobility-charging-stations-simulator.git diff --git a/ui/web/src/components/charging-stations/CSData.vue b/ui/web/src/components/charging-stations/CSData.vue index 300cfa44..b8fb0662 100644 --- a/ui/web/src/components/charging-stations/CSData.vue +++ b/ui/web/src/components/charging-stations/CSData.vue @@ -7,7 +7,7 @@ {{ getSupervisionUrl() }} - {{ getWsState() }} + {{ getWSState() }} {{ props.chargingStation?.bootNotificationResponse?.status ?? 'Ø' }} @@ -98,7 +98,7 @@ const getSupervisionUrl = (): string => { const supervisionUrl = new URL(props.chargingStation.supervisionUrl) return `${supervisionUrl.protocol}//${supervisionUrl.host.split('.').join('.\u200b')}` } -const getWsState = (): string => { +const getWSState = (): string => { switch (props.chargingStation?.wsState) { case WebSocket.CONNECTING: return 'Connecting'