Fix issues after merge

This commit is contained in:
Bjarke Berg
2020-08-26 08:17:05 +02:00
parent 3d55dcd3c4
commit 459e730510
2 changed files with 3 additions and 0 deletions

View File

@@ -8,6 +8,7 @@ using Umbraco.Core.Configuration;
using Umbraco.Core.Hosting;
using Umbraco.Web.BackOffice.Controllers;
using Umbraco.Web.Common.Attributes;
using Umbraco.Web.Common.Filters;
namespace Umbraco.Web.Editors
{
@@ -30,6 +31,7 @@ namespace Umbraco.Web.Editors
/// </summary>
/// <param name="iconName"></param>
/// <returns></returns>
[DetermineAmbiguousActionByPassingParameters]
public IconModel GetIcon(string iconName)
{
return string.IsNullOrWhiteSpace(iconName)
@@ -43,6 +45,7 @@ namespace Umbraco.Web.Editors
/// </summary>
/// <param name="fileInfo"></param>
/// <returns></returns>
[DetermineAmbiguousActionByPassingParameters]
public IconModel GetIcon(FileInfo fileInfo)
{
return fileInfo == null || string.IsNullOrWhiteSpace(fileInfo.Name)