$router.push({ name: 'charging-stations' })
}
"
+ @clicked="
+ () => {
+ $emit('need-refresh')
+ }
+ "
>
Set Supervision Url
</ToggleButton>
:connector-id="index + 1"
:connector="connector"
:atg-status="getATGStatus(index + 1)"
+ @need-refresh="$emit('need-refresh')"
/>
</tbody>
</table>
chargingStation: ChargingStationData
}>()
+const $emit = defineEmits(['need-refresh'])
+
const getConnectorStatuses = (): ConnectorStatus[] => {
if (Array.isArray(props.chargingStation.evses) && props.chargingStation.evses.length > 0) {
const connectorStatuses: ConnectorStatus[] = []
.connectors-table__column {
width: calc(100% / 5);
+ display: flex;
+ flex-direction: column;
text-align: center;
}
</style>