From cbe2f9d88e787a489c14d801eaba49bcb1b27616 Mon Sep 17 00:00:00 2001 From: memodack <81513409+memodack@users.noreply.github.com> Date: Thu, 27 Nov 2025 17:24:39 +0200 Subject: [PATCH] fix: hide help text --- src/practice/quests.service.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/practice/quests.service.ts b/src/practice/quests.service.ts index f641af8..15a2609 100644 --- a/src/practice/quests.service.ts +++ b/src/practice/quests.service.ts @@ -39,10 +39,12 @@ export class QuestsService implements IQuestsService { const shuffleAnswers = this.randomService.shuffleArray(answers); const correctAnswerId = shuffleAnswers.indexOf(q1); + const helpText = JSON.stringify(word.value) === JSON.stringify(word?.text) ? null : word?.text; + const questItem = new QuestItem({ imageUrl: word?.imageUrl, question: word.value, - helpText: word?.text, + helpText, answers: shuffleAnswers, correctAnswerId, });