Merge pull request #2520 from umbraco/v15/hotfix/await-server-requerst-for-entity-workspaces-submit
Hotfix: await server-request before submit gets resolved
This commit is contained in:
@@ -133,9 +133,9 @@ export abstract class UmbEntityDetailWorkspaceContextBase<
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (this.getIsNew()) {
|
if (this.getIsNew()) {
|
||||||
this.#create(currentData);
|
await this.#create(currentData);
|
||||||
} else {
|
} else {
|
||||||
this.#update(currentData);
|
await this.#update(currentData);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user