From e8b07fb35607752c7130a4310c539ff6bd2ffd96 Mon Sep 17 00:00:00 2001 From: Mads Rasmussen Date: Wed, 25 Sep 2024 13:45:18 +0200 Subject: [PATCH] update both persisted and current after submit --- .../workspace/entity-detail/entity-detail-workspace-base.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Umbraco.Web.UI.Client/src/packages/core/workspace/entity-detail/entity-detail-workspace-base.ts b/src/Umbraco.Web.UI.Client/src/packages/core/workspace/entity-detail/entity-detail-workspace-base.ts index b45b18b3af..ee7398c019 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/core/workspace/entity-detail/entity-detail-workspace-base.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/core/workspace/entity-detail/entity-detail-workspace-base.ts @@ -138,6 +138,7 @@ export abstract class UmbEntityDetailWorkspaceContextBase< } this._data.setPersisted(data); + this._data.setCurrent(data); const eventContext = await this.getContext(UMB_ACTION_EVENT_CONTEXT); const event = new UmbRequestReloadChildrenOfEntityEvent({ @@ -153,6 +154,7 @@ export abstract class UmbEntityDetailWorkspaceContextBase< } this._data.setPersisted(data); + this._data.setCurrent(data); const actionEventContext = await this.getContext(UMB_ACTION_EVENT_CONTEXT); const event = new UmbRequestReloadStructureForEntityEvent({