Merge pull request #3144 from nasa/switching-type-error

Fix for non working switch from alpha to tables and plots
This commit is contained in:
Jamie V 2020-07-02 10:38:01 -07:00 committed by GitHub
commit e515d19acd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -566,7 +566,7 @@ export default {
createNewDomainObject(domainObject, composition, viewType, nameExtension, model) {
let identifier = {
key: uuid(),
namespace: domainObject.identifier.namespace
namespace: this.internalDomainObject.identifier.namespace
},
type = this.openmct.types.get(viewType),
parentKeyString = this.openmct.objects.makeKeyString(this.internalDomainObject.identifier),