uses correct constant for dictionary icon (needs to be added to uui icon registry)

This commit is contained in:
Nathan Woulfe
2023-02-08 09:46:58 +10:00
parent fdd059fb2b
commit 41a03f4b8b

View File

@@ -1,4 +1,4 @@
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc;
using Umbraco.Cms.Core;
using Umbraco.Cms.Core.Models;
using Umbraco.Cms.Core.Services;
@@ -32,7 +32,7 @@ public class DictionaryTreeControllerBase : EntityTreeControllerBase<EntityTreeI
var hasChildren = (await DictionaryItemService.GetChildrenAsync(dictionaryItem.Key)).Any();
return new EntityTreeItemViewModel
{
Icon = Constants.Icons.RelationType,
Icon = Constants.Icons.Dictionary,
Name = dictionaryItem.ItemKey,
Key = dictionaryItem.Key,
Type = Constants.UdiEntityType.DictionaryItem,