Virtual panels working again with refactored code
This commit is contained in:
@@ -50,7 +50,7 @@ define(
|
||||
((domainObject && domainObject.useCapability('view')) || [])
|
||||
.forEach(selectViewIfMatching);
|
||||
}
|
||||
$scope.editMode = domainObject.getDomainObject ? true : false;
|
||||
$scope.editMode = domainObject.hasCapability('editor') ? true : false;
|
||||
navigatedObject = domainObject;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user