From 39559d1360ac8380fe060374a8415290b8723063 Mon Sep 17 00:00:00 2001 From: Yvan CARRE Date: Wed, 11 Dec 2024 23:14:28 +0200 Subject: [PATCH 1/2] fixing error review deadline --- webapp/src/pages/reviewForm/components/ReviewForm.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/src/pages/reviewForm/components/ReviewForm.js b/webapp/src/pages/reviewForm/components/ReviewForm.js index cd922550..67dc9b4f 100644 --- a/webapp/src/pages/reviewForm/components/ReviewForm.js +++ b/webapp/src/pages/reviewForm/components/ReviewForm.js @@ -200,7 +200,7 @@ const ReviewForm = (props) => { isOpen: props.event.is_review_open, eventId: event.event.id, stage: currentStage, - deadline: event.event.review_close, + deadline: event.event.review_close==null?"2099-12-05T23:59:59":event.event.review_close, active: currentStage !== 1 ? true : false }) setCreateMode(true); From 3e908e327115e0d199c1b622750a96ac25ff1615 Mon Sep 17 00:00:00 2001 From: Yvan CARRE Date: Sat, 14 Dec 2024 01:37:41 +0200 Subject: [PATCH 2/2] new changes --- webapp/src/pages/reviewForm/components/ReviewForm.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/src/pages/reviewForm/components/ReviewForm.js b/webapp/src/pages/reviewForm/components/ReviewForm.js index 67dc9b4f..74ea6280 100644 --- a/webapp/src/pages/reviewForm/components/ReviewForm.js +++ b/webapp/src/pages/reviewForm/components/ReviewForm.js @@ -200,7 +200,7 @@ const ReviewForm = (props) => { isOpen: props.event.is_review_open, eventId: event.event.id, stage: currentStage, - deadline: event.event.review_close==null?"2099-12-05T23:59:59":event.event.review_close, + deadline: event.event.review_close || "2099-12-05T23:59:59", active: currentStage !== 1 ? true : false }) setCreateMode(true);