Changed DayJS Namespace

This commit is contained in:
2024-01-05 18:17:50 +01:00
parent 61793838bb
commit 8822854040
10 changed files with 34 additions and 34 deletions

View File

@@ -42,7 +42,7 @@
<InputGroup class="mt-3" gap="2">
<UFormGroup label="Rechnungsdatum:" required>
<UPopover :popper="{ placement: 'bottom-start' }">
<UButton icon="i-heroicons-calendar-days-20-solid" :label="itemInfo.date ? dayjs(itemInfo.date).format('DD.MM.YYYY') : 'Datum auswählen'" />
<UButton icon="i-heroicons-calendar-days-20-solid" :label="itemInfo.date ? dayJS(itemInfo.date).format('DD.MM.YYYY') : 'Datum auswählen'" />
<template #panel="{ close }">
<LazyDatePicker v-model="itemInfo.date" @close="close" />
@@ -52,7 +52,7 @@
<UFormGroup label="Fälligkeitsdatum:" required>
<UPopover :popper="{ placement: 'bottom-start' }">
<UButton icon="i-heroicons-calendar-days-20-solid" :label="itemInfo.dueDate ? dayjs(itemInfo.dueDate).format('DD.MM.YYYY') : 'Datum auswählen'" />
<UButton icon="i-heroicons-calendar-days-20-solid" :label="itemInfo.dueDate ? dayJS(itemInfo.dueDate).format('DD.MM.YYYY') : 'Datum auswählen'" />
<template #panel="{ close }">
<LazyDatePicker v-model="itemInfo.dueDate" @close="close" />
@@ -193,7 +193,7 @@
<script setup>
import InputGroup from "~/components/InputGroup.vue";
import * as dayjs from "dayjs";
import * as dayJS from "dayjs";
const dataStore = useDataStore()
const supabase = useSupabaseClient()