ul-question-test-ui 1.0.37 → 1.0.39
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.
|
@@ -69763,7 +69763,9 @@ class utn extends pr {
|
|
|
69763
69763
|
id: Math.random(),
|
|
69764
69764
|
choiceId: o.choiceId || 0,
|
|
69765
69765
|
text: o.title,
|
|
69766
|
-
attachments: o.link ?
|
|
69766
|
+
attachments: o.link ? Array.isArray(o.link) ? o.link.map((r) => ({
|
|
69767
|
+
fileUrl: r
|
|
69768
|
+
})) : [{
|
|
69767
69769
|
fileUrl: o.link
|
|
69768
69770
|
}] : []
|
|
69769
69771
|
})
|