| 1 | <template> |
| 2 | <CardEntity embedded> |
| 3 | <template #header> |
| 4 | {{ formatDate(quarantine.Time, dFormats.datetimesec) }} |
| 5 | </template> |
| 6 | <template #default> |
| 7 | {{ quarantine.Result }} |
| 8 | </template> |
| 9 | </CardEntity> |
| 10 | </template> |
| 11 | |
| 12 | <script setup lang="ts"> |
| 13 | import type { QuarantineResult } from "@/types/artifacts.d" |
| 14 | import CardEntity from "@/components/common/cards/CardEntity.vue" |
| 15 | import { useSettingsStore } from "@/stores/settings" |
| 16 | import { formatDate } from "@/utils/format" |
| 17 | |
| 18 | const { quarantine } = defineProps<{ quarantine: QuarantineResult }>() |
| 19 | |
| 20 | const dFormats = useSettingsStore().dateFormat |
| 21 | </script> |