X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=ui%2Fweb%2Fsrc%2Fcomponents%2Fcharging-stations%2FCSData.vue;h=b88086396c2fb7faa53391ef5f777a3da7b7920d;hb=1eb5f59286fc00c7f84317e82bd794d1fa126ad8;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..b8808639 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 ?? 'Ø' }} @@ -32,8 +32,9 @@ } }) " - >Set Supervision Url + Set Supervision Url + @@ -52,7 +53,7 @@ () -const getConnectors = (): ConnectorStatus[] => { +const getConnectorStatuses = (): ConnectorStatus[] => { if (Array.isArray(props.chargingStation.evses) && props.chargingStation.evses.length > 0) { const connectorsStatus: ConnectorStatus[] = [] for (const [evseId, evseStatus] of props.chargingStation.evses.entries()) { @@ -98,7 +99,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'