Virtual panels working again with refactored code

This commit is contained in:
Henry
2015-11-11 14:59:00 -08:00
parent 5f8d13672f
commit f0e293a513
6 changed files with 19 additions and 21 deletions

View File

@ -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;
}