mirror of
https://github.com/badlogic/heissepreise.git
synced 2024-06-20 07:25:50 +02:00
Add new budget cart.
This commit is contained in:
parent
ebca44dc4e
commit
496a40d852
File diff suppressed because it is too large
Load Diff
19466
site/data/budget-cart.json
Normal file
19466
site/data/budget-cart.json
Normal file
File diff suppressed because it is too large
Load Diff
|
@ -27,6 +27,11 @@ class Carts extends Model {
|
|||
carts.unshift(billaSparCart);
|
||||
}
|
||||
|
||||
if (!carts.some((cart) => cart.name == "Diskont-Marken Produkte Billa/Spar")) {
|
||||
const budgetCart = await misc.fetchJSON("data/budget-cart.json");
|
||||
carts.unshift(budgetCart);
|
||||
}
|
||||
|
||||
// Update items in cart to their latest version.
|
||||
for (const cart of carts) {
|
||||
const items = [];
|
||||
|
|
Loading…
Reference in New Issue
Block a user