Show edit only if view is editable. Rename editable to canEdit

This commit is contained in:
Andrew Henry
2018-12-12 17:17:49 -08:00
parent c0b7276787
commit d026bc2134
9 changed files with 46 additions and 12 deletions

View File

@@ -35,6 +35,9 @@ define([
canView: function (domainObject) {
return domainObject.type === 'flexible-layout';
},
canEdit: function (domainObject) {
return domainObject.type === 'flexible-layout';
},
view: function (domainObject) {
let component;