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

@@ -36,10 +36,10 @@
{{dataStore.vendors.find(vendor => vendor.id === row.vendor) ? dataStore.vendors.find(vendor => vendor.id === row.vendor).name : ''}}
</template>
<template #date-data="{row}">
<span v-if="row.date">{{row.date ? dayjs(row.date).format("DD.MM.YY") : ''}}</span>
<span v-if="row.date">{{row.date ? dayJS(row.date).format("DD.MM.YY") : ''}}</span>
</template>
<template #dueDate-data="{row}">
{{row.dueDate ? dayjs(row.dueDate).format("DD.MM.YY") : ''}}
{{row.dueDate ? dayJS(row.dueDate).format("DD.MM.YY") : ''}}
</template>
<template #amount-data="{row}">
{{getRowAmount(row) === 0 ? '' : `${getRowAmount(row)}`}}
@@ -52,7 +52,7 @@
</template>
<script setup>
import * as dayjs from "dayjs";
import * as dayJS from "dayjs";
definePageMeta({
middleware: "auth"