Changed DayJS Namespace

This commit is contained in:
2024-01-05 18:24:58 +01:00
parent 8822854040
commit d62fc5d668
11 changed files with 35 additions and 35 deletions

View File

@@ -22,7 +22,7 @@
:empty-state="{ icon: 'i-heroicons-circle-stack-20-solid', label: 'Noch keine Einträge' }"
>
<template #created_at-data="{row}">
{{row.created_at ? dayJS(row.created_at).format("DD.MM.YY HH:mm") : ''}}
{{row.created_at ? dayjs(row.created_at).format("DD.MM.YY HH:mm") : ''}}
</template>
<template #user-data="{row}">
{{dataStore.profiles.find(i => i.id === row.user) ? dataStore.profiles.find(i => i.id === row.user).fullName : ""}}
@@ -39,7 +39,7 @@
</template>
<script setup>
import * as dayJS from "dayjs";
import dayjs from "dayjs";
definePageMeta({
middleware: "auth"