fix: แก้ type ของ status
This commit is contained in:
parent
253303dbf9
commit
5617549850
1 changed files with 3 additions and 3 deletions
|
|
@ -1,14 +1,14 @@
|
|||
<script setup lang="ts">
|
||||
import AppBox from 'components/app/AppBox.vue';
|
||||
import AllAroundBtn from '../AllAroundBtn.vue';
|
||||
import { dateFormat } from 'src/utils/datetime';
|
||||
import { Status } from 'src/stores/types';
|
||||
|
||||
withDefaults(
|
||||
defineProps<{
|
||||
title?: string;
|
||||
subtitle?: string;
|
||||
color?: string;
|
||||
status?: boolean;
|
||||
status?: Status;
|
||||
date?: Date;
|
||||
}>(),
|
||||
{
|
||||
|
|
@ -47,7 +47,7 @@ withDefaults(
|
|||
<div class="app-text-muted">{{ $t('status') }}</div>
|
||||
|
||||
<q-badge
|
||||
v-if="status"
|
||||
v-if="status !== 'INACTIVE'"
|
||||
class="q-px-md q-py-xs rounded"
|
||||
style="background-color: var(--teal-0); color: var(--teal-6)"
|
||||
>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue