[Update] Minor detail fixed
This commit is contained in:
parent
428fedb944
commit
85138291b5
@ -164,11 +164,7 @@ const inputItem = async () => {
|
|||||||
info.value = "";
|
info.value = "";
|
||||||
}, 3000);
|
}, 3000);
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
if (err == "") {
|
error.value = "Item tidak ditemukan";
|
||||||
error.value = "Error: Item tidak ditemukan";
|
|
||||||
} else {
|
|
||||||
error.value = err;
|
|
||||||
}
|
|
||||||
info.value = "";
|
info.value = "";
|
||||||
hargaJual.value = null;
|
hargaJual.value = null;
|
||||||
item.value = null;
|
item.value = null;
|
||||||
|
|||||||
@ -287,7 +287,6 @@ const simpanTransaksi = async (dataTransaksi) => {
|
|||||||
props.pesanan.value = [];
|
props.pesanan.value = [];
|
||||||
props.isOpen = false;
|
props.isOpen = false;
|
||||||
|
|
||||||
alert('Transaksi berhasil disimpan!');
|
|
||||||
window.location.reload();
|
window.location.reload();
|
||||||
|
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user