diff --git a/src/Umbraco.Web.UI.Client/src/packages/dictionary/dictionary/repository/dictionary.repository.ts b/src/Umbraco.Web.UI.Client/src/packages/dictionary/dictionary/repository/dictionary.repository.ts index 05486b2a8a..ea98f90098 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/dictionary/dictionary/repository/dictionary.repository.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/dictionary/dictionary/repository/dictionary.repository.ts @@ -14,7 +14,8 @@ import { import { UmbNotificationContext, UMB_NOTIFICATION_CONTEXT_TOKEN } from '@umbraco-cms/backoffice/notification'; import type { UmbApi } from '@umbraco-cms/backoffice/extension-api'; -export class UmbDictionaryRepository extends UmbBaseController +export class UmbDictionaryRepository + extends UmbBaseController implements UmbTreeRepository, UmbDetailRepository< @@ -110,6 +111,7 @@ export class UmbDictionaryRepository extends UmbBaseController } async requestItems(ids: Array) { + // TODO: There is a bug where the item gets removed from the tree before we confirm the delete via the modal. It doesn't delete the item unless we confirm the delete. if (!ids) throw new Error('Dictionary Ids are missing'); await this.#init;