mirror of
https://github.com/badlogic/heissepreise.git
synced 2024-06-24 09:25:53 +02:00
Fix state URL in cart when items are checked for charting.
This commit is contained in:
parent
7e527f2f34
commit
dbdf6e2f38
|
@ -205,6 +205,9 @@ function loadCart() {
|
|||
for (const id of d.split(";")) {
|
||||
cart.items.lookup[id].chart = true;
|
||||
}
|
||||
const url = stateToUrl();
|
||||
history.pushState({}, null, url);
|
||||
cartHeader.render();
|
||||
}
|
||||
cartList.model = cartFilter.model = cart;
|
||||
productsList.model = productsFilter.model = models.items;
|
||||
|
|
Loading…
Reference in New Issue
Block a user