fix: don't add question mark to end of morph activity question (#1464)

pull/1593/head
ggurdin 10 months ago committed by GitHub
parent 8852a2e41f
commit fe34444797
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -91,8 +91,11 @@ class MorphActivityGenerator {
langCode: req.userL2,
activityType: ActivityTypeEnum.morphId,
content: ActivityContent(
question:
"${getMorphologicalCategoryCopy(morphFeature, MatrixState.pangeaController.matrixState.context) ?? ""}?",
question: getMorphologicalCategoryCopy(
morphFeature,
MatrixState.pangeaController.matrixState.context,
) ??
morphFeature,
choices: distractors + [morphTag],
answers: [morphTag],
spanDisplayDetails: null,

Loading…
Cancel
Save