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:
Nikolaj Geisle
2023-07-05 14:09:39 +02:00
committed by GitHub
parent 59df7439db
commit ed83b65de3
30 changed files with 277 additions and 236 deletions

View File

@@ -32,7 +32,6 @@ public class DictionaryTreeControllerBase : EntityTreeControllerBase<EntityTreeI
var hasChildren = (await DictionaryItemService.GetChildrenAsync(dictionaryItem.Key)).Any();
return new EntityTreeItemResponseModel
{
Icon = Constants.Icons.Dictionary,
Name = dictionaryItem.ItemKey,
Id = dictionaryItem.Key,
Type = Constants.UdiEntityType.DictionaryItem,