Compare commits
2 Commits
7ef8f79b6c
...
982b14e46a
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
982b14e46a | ||
|
|
e80a68fbb7 |
@ -6,8 +6,7 @@
|
||||
message="Apakah Anda yakin ingin menghapus kategori ini?" @confirm="confirmDelete" @cancel="closeDeleteModal" />
|
||||
<div class="p-6 min-h-[75vh]" >
|
||||
<p class="font-serif italic text-[25px] text-D">KATEGORI</p>
|
||||
<div class="flex justify-between items-center mb-6">
|
||||
|
||||
<div class="flex justify-end items-center mb-6">
|
||||
<button @click="tambahKategori"
|
||||
v-if="isAdmin"
|
||||
class="px-4 py-2 bg-C text-black rounded-md hover:bg-B transition duration-200 flex items-center gap-2">
|
||||
|
||||
@ -11,8 +11,7 @@
|
||||
|
||||
<div class="p-6 min-h-[75vh]">
|
||||
<p class="font-serif italic text-[25px] text-D">SALES</p>
|
||||
<div class="flex justify-between items-center mb-6">
|
||||
|
||||
<div class="flex justify-end items-center mb-6">
|
||||
<button @click="tambahSales"
|
||||
v-if="isAdmin"
|
||||
class="px-4 py-2 bg-C text-D rounded-md hover:bg-C/80 transition duration-200 flex items-center gap-2">
|
||||
|
||||
@ -171,7 +171,7 @@ const handleConfirmAction = async () => {
|
||||
alert.value = { error: "Gagal mengosongkan nampan. Silakan coba lagi." };
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
closeConfirmModal();
|
||||
clearTimeout(timer.value);
|
||||
timer.value = setTimeout(() => { alert.value = null }, 3000);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user