@winchsa/ui 0.1.37 → 0.1.39
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -120,7 +120,7 @@ const mergedCloseBtn = computed(() => ({
|
|
|
120
120
|
class="d-flex flex-wrap justify-center gap-4 mt-4 "
|
|
121
121
|
>
|
|
122
122
|
<BaseButton
|
|
123
|
-
v-if="
|
|
123
|
+
v-if="closeBtn"
|
|
124
124
|
:color="mergedCloseBtn.color"
|
|
125
125
|
:disabled="mergedCloseBtn?.disabled"
|
|
126
126
|
class="flex-1-1"
|
|
@@ -131,7 +131,7 @@ const mergedCloseBtn = computed(() => ({
|
|
|
131
131
|
</BaseButton>
|
|
132
132
|
|
|
133
133
|
<BaseButton
|
|
134
|
-
v-if="
|
|
134
|
+
v-if="confirmBtn"
|
|
135
135
|
type="submit"
|
|
136
136
|
class="flex-1-1"
|
|
137
137
|
:color="mergedConfirmBtn.color"
|
|
@@ -246,7 +246,7 @@ defineExpose({
|
|
|
246
246
|
|
|
247
247
|
<template #item.created_at="{ item }">
|
|
248
248
|
<div class="d-flex text-pre-line">
|
|
249
|
-
{{ formatDate(item?.created_at) }}
|
|
249
|
+
{{ item?.created_at != "-" || item?.created_at ? formatDate(item?.created_at) : "-" }}
|
|
250
250
|
</div>
|
|
251
251
|
</template>
|
|
252
252
|
|