Corrected Error in Dashboard

This commit is contained in:
2025-01-07 16:57:34 +01:00
parent 26fef320ef
commit 4df416a818
2 changed files with 27 additions and 2 deletions

View File

@@ -17,9 +17,8 @@
<UDashboardCard
class="mt-3"
title="Anwesenheiten"
v-if="dataStore.getStartedWorkingTimes().length > 0"
>
<p v-for="time in dataStore.getStartedWorkingTimes()"><UIcon name="i-heroicons-check"/>{{profileStore.getProfileById(time.profile).fullName}}</p>
<display-present-profiles/>
</UDashboardCard>
@@ -45,6 +44,8 @@
<script setup>
import DisplayPresentProfiles from "~/components/noAutoLoad/displayPresentProfiles.vue";
definePageMeta({
middleware: "auth"
})