Add Gauge plugin #4896, add edit mode (#5118)

* Add Gauge plugin #4896, add edit mode
This commit is contained in:
Nikhil
2022-04-26 14:32:23 -07:00
committed by GitHub
parent fff3ce0acf
commit d30c4fcb53

View File

@ -32,7 +32,9 @@ export default function GaugeViewProvider(openmct) {
return domainObject.type === 'gauge'; return domainObject.type === 'gauge';
}, },
canEdit: function (domainObject) { canEdit: function (domainObject) {
return false; if (domainObject.type === 'gauge') {
return true;
}
}, },
view: function (domainObject) { view: function (domainObject) {
let component; let component;