comment update
This commit is contained in:
@@ -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;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user