From 1ce5af944584b99ff054c5f7f8cba0cc96d41ce3 Mon Sep 17 00:00:00 2001 From: Simon Nedjari Date: Thu, 29 Aug 2024 16:53:11 +0200 Subject: [PATCH] change reinvented story phase --- src/components/Navigation.tsx | 4 ++-- src/components/activities/utils.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/Navigation.tsx b/src/components/Navigation.tsx index da3ceb2d3..1ced61f22 100644 --- a/src/components/Navigation.tsx +++ b/src/components/Navigation.tsx @@ -191,14 +191,14 @@ export const Navigation = (): JSX.Element => { phase: 2, disabled: isParent, }, - // ---- PHASE 3 ---- { label: 'Inventer une histoire', path: '/creer-une-histoire', icon: , - phase: 3, + phase: 2, disabled: isParent, }, + // ---- PHASE 3 ---- { label: 'RĂ©-inventer une histoire', path: '/re-inventer-une-histoire', diff --git a/src/components/activities/utils.ts b/src/components/activities/utils.ts index e47588759..7e54e37cf 100644 --- a/src/components/activities/utils.ts +++ b/src/components/activities/utils.ts @@ -118,7 +118,7 @@ export const specificActivityPhase = { [ActivityType.REACTION]: [PhaseType.TWO], [ActivityType.ANTHEM]: [], [ActivityType.CLASS_ANTHEM]: [PhaseType.THREE], - [ActivityType.STORY]: [PhaseType.THREE], + [ActivityType.STORY]: [PhaseType.TWO], [ActivityType.RE_INVENT_STORY]: [PhaseType.THREE], }; export const getActivityPhase = (activityType: number, activePhase: number, selectedPhase: number) => {