convert legacy icons in permissions section
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
* @description
|
||||
* The controller for the content type editor property dialog
|
||||
*/
|
||||
function PermissionsController($scope, contentTypeResource, $log) {
|
||||
function PermissionsController($scope, contentTypeResource, $log, iconHelper) {
|
||||
|
||||
/* ----------- SCOPE VARIABLES ----------- */
|
||||
|
||||
@@ -24,6 +24,9 @@ function PermissionsController($scope, contentTypeResource, $log) {
|
||||
|
||||
angular.forEach($scope.contentTypes, function(contentType){
|
||||
|
||||
// convert legacy icons
|
||||
iconHelper.formatContentTypeIcons($scope.contentTypes);
|
||||
|
||||
var exists = false;
|
||||
|
||||
angular.forEach($scope.contentType.allowedContentTypes, function(allowedContentType){
|
||||
|
||||
Reference in New Issue
Block a user