fix: remove sep

This commit is contained in:
riefive
2025-11-19 12:38:41 +07:00
parent 05cc75fa95
commit 3e4931cda2
3 changed files with 9 additions and 6 deletions
+5 -2
View File
@@ -49,7 +49,7 @@ provide('rec_item', recItem)
provide('table_data_loader', isLoading)
watch(
() => recAction.value,
[recId, recAction],
() => {
if (recAction.value === 'showConfirmDel') {
open.value = true
@@ -147,7 +147,10 @@ onMounted(() => {
<p><strong>Nama Pasien:</strong> {{ sepData.patientName }}</p>
</div>
<DialogFooter class="mt-6 flex justify-end gap-3">
<Button variant="outline" class="border-green-600 text-green-600 hover:bg-green-50" @click="handleRemove">
<Button variant="outline" class="border-green-600 text-green-600 hover:bg-green-50" @click="() => {
recId = 0
open = false
}">
<X class="mr-1 h-4 w-4" />
Tidak
</Button>