From 7977209d2e3b107bc89cec4f666f066f7b2cbf77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20Lyngs=C3=B8?= Date: Wed, 19 Apr 2023 13:50:02 +0200 Subject: [PATCH] data correction --- .../document-types/repository/document-type.repository.ts | 2 +- .../src/core/mocks/data/document-type.data.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/documents/document-types/repository/document-type.repository.ts b/src/Umbraco.Web.UI.Client/src/backoffice/documents/document-types/repository/document-type.repository.ts index 31518f738c..60f72086ed 100644 --- a/src/Umbraco.Web.UI.Client/src/backoffice/documents/document-types/repository/document-type.repository.ts +++ b/src/Umbraco.Web.UI.Client/src/backoffice/documents/document-types/repository/document-type.repository.ts @@ -160,7 +160,7 @@ export class UmbDocumentTypeRepository implements UmbTreeRepository, U // TODO: we currently don't use the detail store for anything. // Consider to look up the data before fetching from the server - //this.#detailStore?.append(documentType); + this.#detailStore?.append(documentType); // TODO: Update tree store with the new item? or ask tree to request the new item? } diff --git a/src/Umbraco.Web.UI.Client/src/core/mocks/data/document-type.data.ts b/src/Umbraco.Web.UI.Client/src/core/mocks/data/document-type.data.ts index ebedb8a2f6..bc1c5210c4 100644 --- a/src/Umbraco.Web.UI.Client/src/core/mocks/data/document-type.data.ts +++ b/src/Umbraco.Web.UI.Client/src/core/mocks/data/document-type.data.ts @@ -635,7 +635,7 @@ export const data: Array = [ alias: 'blogPost', name: 'Page Document Type', description: null, - icon: 'umb:item-arrangement', + icon: 'umb:document', allowedAsRoot: true, variesByCulture: true, variesBySegment: false,