From 6684bf97507aa1997ff43685a819b917c34bda8f Mon Sep 17 00:00:00 2001 From: Lone Iversen <108085781+loivsen@users.noreply.github.com> Date: Wed, 29 May 2024 15:39:07 +0200 Subject: [PATCH] fixes https://github.com/umbraco/Umbraco-CMS/issues/16451 --- .../partial-views/workspace/partial-view-workspace.context.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Umbraco.Web.UI.Client/src/packages/templating/partial-views/workspace/partial-view-workspace.context.ts b/src/Umbraco.Web.UI.Client/src/packages/templating/partial-views/workspace/partial-view-workspace.context.ts index 2a520a2f87..1b677ac99b 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/templating/partial-views/workspace/partial-view-workspace.context.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/templating/partial-views/workspace/partial-view-workspace.context.ts @@ -171,8 +171,8 @@ export class UmbPartialViewWorkspaceContext if (error) { throw new Error(error.message); } - this.setIsNew(false); this.#data.setValue(data); + this.setIsNew(false); // TODO: this might not be the right place to alert the tree, but it works for now const eventContext = await this.getContext(UMB_ACTION_EVENT_CONTEXT);