mirror of
https://github.com/nasa/openmct.git
synced 2025-03-23 12:35:48 +00:00
default to string not undefined
This commit is contained in:
parent
f165d9c064
commit
5a44931537
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user