update both persisted and current after submit

This commit is contained in:
Mads Rasmussen
2024-09-25 13:45:18 +02:00
parent 9d4314de08
commit e8b07fb356

View File

@@ -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({