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