Merge pull request #1955 from umbraco/v14/bugfix/create-partial-view-routing

Bugfix: Redirects the Partial View on Create
This commit is contained in:
Lee Kelleher
2024-05-29 14:47:00 +01:00
committed by GitHub

View File

@@ -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);