Removed Big Comment
This commit is contained in:
@@ -21,31 +21,7 @@
|
||||
<p v-for="time in dataStore.getStartedWorkingTimes()"><UIcon name="i-heroicons-check"/>{{profileStore.getProfileById(time.profile).fullName}}</p>
|
||||
</UDashboardCard>
|
||||
|
||||
<!--TODO: Fix Card Table overflowing <UDashboardCard
|
||||
title="Offene Aufgaben"
|
||||
v-if="dataStore.getOpenTasksCount > 0"
|
||||
class="w-1/2 h-1/2"
|
||||
>
|
||||
<UTable
|
||||
:rows="dataStore.tasks.filter(i => i.categorie !== 'Erledigt' && (i.profile === profileStore.activeProfile.id ||!i.profile))"
|
||||
@select="(row) => router.push(`/tasks/show/${row.id}`)"
|
||||
:columns="[
|
||||
{
|
||||
key: 'categorie',
|
||||
label: 'Kategorie'
|
||||
},{
|
||||
key: 'name',
|
||||
label: 'Name'
|
||||
},
|
||||
]"
|
||||
>
|
||||
<template #categorie-data="{row}">
|
||||
<span v-if="row.categorie === 'Dringend'" class="text-rose-500">{{row.categorie}}</span>
|
||||
<span v-else-if="row.categorie === 'In Bearbeitung'" class="text-primary-500">{{row.categorie}}</span>
|
||||
<span v-else>{{row.categorie}}</span>
|
||||
</template>
|
||||
</UTable>
|
||||
</UDashboardCard>-->
|
||||
|
||||
<UDashboardCard
|
||||
:ui="{ body: { padding: '!pb-3 !px-5' }}"
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user