From 77e18d692e9f1a9e225b36f49981a05cc969ba7d Mon Sep 17 00:00:00 2001 From: Pierre LHOSTE Date: Fri, 26 Apr 2024 11:45:23 +0200 Subject: [PATCH] Add issue link --- src/utils/checkout.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/utils/checkout.js b/src/utils/checkout.js index 41875dd11..53334ed93 100644 --- a/src/utils/checkout.js +++ b/src/utils/checkout.js @@ -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 &&