Compare commits

..

No commits in common. "982b14e46a9a314fd84dd347b54ef7855a78d327" and "7ef8f79b6c9ce5f93edceb6b5e4b305fbb015883" have entirely different histories.

3 changed files with 5 additions and 3 deletions

View File

@ -6,7 +6,8 @@
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-end items-center mb-6">
<div class="flex justify-between 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">

View File

@ -11,7 +11,8 @@
<div class="p-6 min-h-[75vh]">
<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"
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">

View File

@ -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);