l-min-components 1.7.1576 → 1.7.1577
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -692,10 +692,15 @@ const getQuestionInfo = (question) => {
|
|
|
692
692
|
type = "word-play-multiple-choice";
|
|
693
693
|
else type = "word-play-text";
|
|
694
694
|
} else if (question?.type === "QUIZ") {
|
|
695
|
-
if (
|
|
695
|
+
if (
|
|
696
|
+
question?.question_data?.question_data?.type === "MultipleChoice" ||
|
|
697
|
+
question?.question_data?.question_data?.type === "Multiple Choice"
|
|
698
|
+
)
|
|
696
699
|
type = "quiz-multiple-choice";
|
|
697
700
|
else if (question?.question_data?.question_data?.type === "UnScripted")
|
|
698
701
|
type = "quiz-unscripted";
|
|
702
|
+
else if (question?.question_data?.question_data?.type === "Written")
|
|
703
|
+
type = "quiz-written";
|
|
699
704
|
else type = "quiz-scripted";
|
|
700
705
|
} else if (question?.type === "ESSAY") {
|
|
701
706
|
if (question?.question_data?.config?.type === "Scripted")
|