feat(web): add tooltip for charge point status with online/offline indication

This commit is contained in:
2026-03-11 22:01:43 +08:00
parent 02a361488b
commit 279e453ad6
2 changed files with 29 additions and 7 deletions

View File

@@ -265,7 +265,7 @@ export default function ChargePage() {
});
const selectedCp = chargePoints.find((cp) => cp.id === selectedCpId) ?? null;
const myTags = idTags.filter((t) => t.status === "Accepted");
const myTags = idTags?.filter((t) => t.status === "Accepted") ?? [];
const startMutation = useMutation({
mutationFn: async () => {