V14: Refactor icons for tree items (#14477)
* Remove icons from base models * Update OpenApi spec * Updated schema * Cleanup * Fix Response Type --------- Co-authored-by: Zeegaan <nge@umbraco.dk> Co-authored-by: Elitsa <elm@umbraco.dk>
This commit is contained in:
@@ -1,9 +1,8 @@
|
||||
using Asp.Versioning;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using Umbraco.Cms.Core;
|
||||
using Umbraco.Cms.Core.IO;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using Umbraco.Cms.Api.Management.Controllers.Tree;
|
||||
using Umbraco.Cms.Api.Management.Routing;
|
||||
using Umbraco.Cms.Core;
|
||||
using Umbraco.Cms.Core.IO;
|
||||
|
||||
namespace Umbraco.Cms.Api.Management.Controllers.Script.Tree;
|
||||
|
||||
@@ -18,7 +17,5 @@ public class ScriptTreeControllerBase : FileSystemTreeControllerBase
|
||||
|
||||
protected override IFileSystem FileSystem { get; }
|
||||
|
||||
protected override string FileIcon(string path) => Constants.Icons.Script;
|
||||
|
||||
protected override string ItemType(string path) => Constants.UdiEntityType.Script;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user