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