fix: use dayjs from frappe-ui in evaluation modal

This commit is contained in:
Jannat Patel
2025-12-04 11:06:34 +05:30
parent 6c2978306c
commit 2cdd45da96
2 changed files with 9 additions and 3 deletions

View File

@@ -30,7 +30,7 @@
"apexcharts": "4.3.0",
"chart.js": "4.4.1",
"codemirror": "6.0.1",
"dayjs": "1.11.6",
"dayjs": "1.11.10",
"dompurify": "3.2.6",
"feather-icons": "4.28.0",
"frappe-ui": "0.1.227",

View File

@@ -66,12 +66,18 @@
</Dialog>
</template>
<script setup>
import { Dialog, createResource, Select, FormControl, toast } from 'frappe-ui'
import {
dayjs,
Dialog,
createResource,
Select,
FormControl,
toast,
} from 'frappe-ui'
import { reactive, watch, inject } from 'vue'
import { formatTime } from '@/utils/'
const user = inject('$user')
const dayjs = inject('$dayjs')
const show = defineModel()
const evaluations = defineModel('reloadEvals')