refactor: remove automatic toast notification when restoring cart draft items
This commit is contained in:
parent
f84ebbd955
commit
869866beaf
@ -100,7 +100,6 @@ function populateDraftItems() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
cart.value = props.draftItems.map((item) => ({ ...item }));
|
cart.value = props.draftItems.map((item) => ({ ...item }));
|
||||||
toast.info('Keranjang dipulihkan dari data tersimpan.');
|
|
||||||
}
|
}
|
||||||
|
|
||||||
populateDraftItems();
|
populateDraftItems();
|
||||||
|
|||||||
@ -108,7 +108,6 @@ function populateDraftItems() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
cart.value = props.draftItems.map((item) => ({ ...item }));
|
cart.value = props.draftItems.map((item) => ({ ...item }));
|
||||||
toast.info('Keranjang dipulihkan dari data tersimpan.');
|
|
||||||
}
|
}
|
||||||
|
|
||||||
populateDraftItems();
|
populateDraftItems();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user