mirror of
https://github.com/nasa/openmct.git
synced 2025-02-01 00:45:41 +00:00
addressed review comments
This commit is contained in:
parent
45e56798c5
commit
2f2de3952d
@ -43,7 +43,7 @@
|
||||
openmct.legacyRegistry.enable.bind(openmct.legacyRegistry)
|
||||
);
|
||||
|
||||
openmct.install(openmct.plugins.Snow());
|
||||
openmct.install(openmct.plugins.Espresso());
|
||||
openmct.install(openmct.plugins.MyItems());
|
||||
openmct.install(openmct.plugins.LocalStorage());
|
||||
openmct.install(openmct.plugins.Generator());
|
||||
|
@ -26,6 +26,8 @@ import Vue from 'vue';
|
||||
export default function ConditionSetViewProvider(openmct) {
|
||||
return {
|
||||
key: 'conditionSet.view',
|
||||
name: 'Condition Set',
|
||||
cssClass: 'icon-summary-widget',
|
||||
canView: function (domainObject) {
|
||||
return domainObject.type === 'conditionSet';
|
||||
},
|
||||
@ -50,11 +52,12 @@ export default function ConditionSetViewProvider(openmct) {
|
||||
domainObject
|
||||
};
|
||||
},
|
||||
template: '<condition-set ref="conditionSet" :domain-object="domainObject"></condition-set>'
|
||||
template: '<condition-set :domain-object="domainObject"></condition-set>'
|
||||
});
|
||||
},
|
||||
destroy() {
|
||||
component.$destroy();
|
||||
component = undefined;
|
||||
}
|
||||
};
|
||||
},
|
||||
|
@ -36,9 +36,8 @@ export default {
|
||||
}
|
||||
},
|
||||
data() {
|
||||
let domainObject = JSON.parse(JSON.stringify(this.domainObject));
|
||||
return {
|
||||
internalDomainObject: domainObject
|
||||
internalDomainObject: this.domainObject
|
||||
};
|
||||
},
|
||||
inject: ['openmct']
|
||||
|
Loading…
x
Reference in New Issue
Block a user