comment update

This commit is contained in:
Niels Lyngsø
2024-08-09 12:03:12 +02:00
parent 549a49faa7
commit bccc4fd5c1

View File

@@ -42,7 +42,7 @@ export abstract class UmbSubmittableWorkspaceContextBase<WorkspaceDataModelType>
constructor(host: UmbControllerHost, workspaceAlias: string) {
super(host, UMB_WORKSPACE_CONTEXT.toString());
this.workspaceAlias = workspaceAlias;
// TODO: Consider if we can turn this consumption to submitComplete, just as a getContext. [NL]
// TODO: Consider if we can move this consumption to #resolveSubmit, just as a getContext, but it depends if others use the modalContext prop.. [NL]
this.consumeContext(UMB_MODAL_CONTEXT, (context) => {
(this.modalContext as UmbModalContext) = context;
});