mirror of
https://github.com/nasa/openmct.git
synced 2025-06-17 22:58:14 +00:00
Show edit only if view is editable. Rename editable to canEdit
This commit is contained in:
@ -33,6 +33,9 @@ export default function () {
|
||||
canView: function (domainObject) {
|
||||
return domainObject.type === 'layout';
|
||||
},
|
||||
canEdit: function (domainObject) {
|
||||
return domainObject.type === 'layout';
|
||||
},
|
||||
view: function (domainObject) {
|
||||
let component;
|
||||
return {
|
||||
|
Reference in New Issue
Block a user