Fix the checkout

This commit is contained in:
Michał 2024-05-24 12:11:31 +01:00
parent ce2a5c0979
commit 9063552459

View file

@ -38,9 +38,7 @@
} else {
totalPrice = 1.50 + Cart.getTotalPrice();
}
unavailableItems = Cart.getEntries().some(([_, item]) => {
item.data.availability === false
});
unavailableItems = Cart.getEntries().some(([_, item]) => !item.data.availability);
});
let leafletMap: Map;