Skip to content
Snippets Groups Projects
Commit 2deec46d authored by Guilhem CARRON's avatar Guilhem CARRON
Browse files

Fix bug ChallengeCardDone + fix explo service

parent 4e475fdc
Branches
No related tags found
1 merge request!206Features/us286 add fluidcondition exploration
......@@ -105,7 +105,10 @@ const ChallengeCardDone: React.FC<ChallengeCardDoneProps> = ({
</div>
<div className="statsResult">
<span className="text-18-bold">
{userChallenge.progress} {t('challenge.card_done.stars')}
{userChallenge.progress.actionProgress +
userChallenge.progress.explorationProgress +
userChallenge.progress.quizProgress}
{t('challenge.card_done.stars')}
</span>
<br />
{t('challenge.card_done.get_in')}
......
......@@ -86,6 +86,7 @@ export default class ExplorationService {
fluid_condition: [],
priority_by_condition: 1,
progress: 0,
message_success: '',
}
if (explorationEntityList.length > 0) {
const explorationEntityIndex = explorationEntityList.findIndex(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment