diff --git a/src/Umbraco.Web.UI.Client/src/common/directives/components/umbtable.directive.js b/src/Umbraco.Web.UI.Client/src/common/directives/components/umbtable.directive.js index bf593397b6..17d4dd93ff 100644 --- a/src/Umbraco.Web.UI.Client/src/common/directives/components/umbtable.directive.js +++ b/src/Umbraco.Web.UI.Client/src/common/directives/components/umbtable.directive.js @@ -1,7 +1,7 @@ (function () { 'use strict'; - function TableDirective() { + function TableDirective(iconHelper) { function link(scope, el, attr, ctrl) { @@ -43,6 +43,10 @@ } }; + scope.getIcon = function (entry) { + return iconHelper.convertFromLegacyIcon(entry.icon); + }; + } var directive = {