Fix broken selectable state for list view items (#13148)
This commit is contained in:
@@ -9,9 +9,9 @@
|
||||
|
||||
function propertyEditorReadonly () {
|
||||
// check for permission to update
|
||||
return !(typeof $scope.variantContent !== 'undefined' && $scope.variantContent.allowedActions.includes('A'));
|
||||
return $scope.variantContent && !$scope.variantContent.allowedActions.includes('A');
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
angular.module("umbraco").controller("Umbraco.Editors.Content.Apps.ListViewController", ContentAppListViewController);
|
||||
|
||||
Reference in New Issue
Block a user