feat: use X icon for vehicle deletion
Some checks failed
TrafficCue CI / check (push) Failing after 1m35s
TrafficCue CI / build (push) Successful in 11m2s
TrafficCue CI / build-android (push) Has been cancelled

This commit is contained in:
2025-09-30 10:04:51 +02:00
parent c2ab32c281
commit 59d9667109

View File

@ -6,6 +6,7 @@
PlusCircleIcon, PlusCircleIcon,
TractorIcon, TractorIcon,
TruckIcon, TruckIcon,
XIcon,
} from "@lucide/svelte"; } from "@lucide/svelte";
import Button, { buttonVariants } from "../ui/button/button.svelte"; import Button, { buttonVariants } from "../ui/button/button.svelte";
import { import {
@ -74,7 +75,7 @@
if(!confirm("Are you sure you want to delete this vehicle? This action cannot be undone.")) return; if(!confirm("Are you sure you want to delete this vehicle? This action cannot be undone.")) return;
updateStore({ type: "vehicle", name: vehicle.name }, null); updateStore({ type: "vehicle", name: vehicle.name }, null);
}}> }}>
X <XIcon />
</Button> </Button>
</div> </div>
{/each} {/each}