adapt-authoring-adaptframework 1.4.0 → 1.4.1
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.
|
@@ -764,7 +764,7 @@ class AdaptFrameworkImport {
|
|
|
764
764
|
data[key].forEach(d => this.extractAssets(val.items.properties, d))
|
|
765
765
|
} else if (val?._backboneForms?.type === 'Asset' || val?._backboneForms === 'Asset') {
|
|
766
766
|
data[key] !== ''
|
|
767
|
-
? data[key] = this.assetMap[data[key]]
|
|
767
|
+
? data[key] = this.assetMap[data[key]] ?? data[key]
|
|
768
768
|
: delete data[key]
|
|
769
769
|
}
|
|
770
770
|
})
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "adapt-authoring-adaptframework",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.1",
|
|
4
4
|
"description": "Adapt framework integration for the Adapt authoring tool",
|
|
5
5
|
"homepage": "https://github.com/adapt-security/adapt-authoring-adaptframework",
|
|
6
6
|
"license": "GPL-3.0",
|