[Update] Minor detail fixed

This commit is contained in:
Baghaztra 2025-09-17 13:28:46 +07:00
parent 428fedb944
commit 85138291b5
2 changed files with 1 additions and 6 deletions

View File

@ -164,11 +164,7 @@ const inputItem = async () => {
info.value = "";
}, 3000);
} catch (err) {
if (err == "") {
error.value = "Error: Item tidak ditemukan";
} else {
error.value = err;
}
error.value = "Item tidak ditemukan";
info.value = "";
hargaJual.value = null;
item.value = null;

View File

@ -287,7 +287,6 @@ const simpanTransaksi = async (dataTransaksi) => {
props.pesanan.value = [];
props.isOpen = false;
alert('Transaksi berhasil disimpan!');
window.location.reload();
} catch (error) {