diff --git a/src/plugins/formActions/CreateAction.js b/src/plugins/formActions/CreateAction.js index c7a006abb1..4ac970bf40 100644 --- a/src/plugins/formActions/CreateAction.js +++ b/src/plugins/formActions/CreateAction.js @@ -66,7 +66,7 @@ export default class CreateAction extends PropertiesAction { }); const parentDomainObject = parentDomainObjectPath[0]; - const namespace = parentDomainObject.identifier.namespace || parentDomainObject.key; + const namespace = parentDomainObject.identifier.namespace || parentDomainObject.key || ''; this.domainObject.modified = Date.now(); this.domainObject.location = this.openmct.objects.makeKeyString(parentDomainObject.identifier);