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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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