Help Slideover and trackingtrips

This commit is contained in:
2024-09-27 21:12:47 +02:00
parent f31e76ac3a
commit f9995505a8
4 changed files with 57 additions and 10 deletions

View File

@@ -43,6 +43,10 @@
@select="(i) => router.push(`/trackingTrips/show/${i.id}`) "
:empty-state="{ icon: 'i-heroicons-circle-stack-20-solid', label: 'Keine Fahrten anzuzeigen' }"
>
<template #fixed-data="{row}">
<UIcon name="i-heroicons-lock-closed" v-if="row.fixed"/>
<div v-else></div>
</template>
<template #licensePlate-data="{row}">
<span v-if="row === filteredRows[selectedItem]" class="font-bold text-primary-500">{{row.vehicle.licensePlate}}</span>
<span v-else>{{row.vehicle.licensePlate}}</span>
@@ -108,6 +112,10 @@ const setupPage = async () => {
setupPage()
const templateColumns = [
{
key: 'fixed',
label: ""
},
{
key: 'licensePlate',
label: "Kennzeichen:",