Skip to content

Commit

Permalink
Add issue link
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre-LHOSTE committed Apr 26, 2024
1 parent 78a443f commit 77e18d6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/utils/checkout.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ export function getNextShippingTimeAsText(restaurant, now) {
}

export function isRestaurantClosed(restaurant) {
// FIXME
// This hotfixes a bug on the API
// https://github.com/coopcycle/coopcycle-web/issues/2213
if (
(!restaurant.timing.delivery && !restaurant.timing.collection) ||
(restaurant.timing.delivery &&
Expand Down

0 comments on commit 77e18d6

Please sign in to comment.