comment correction
This commit is contained in:
@@ -123,7 +123,7 @@ export abstract class UmbSaveableWorkspaceContextBase<WorkspaceDataModelType>
|
||||
abstract getData(): WorkspaceDataModelType | undefined;
|
||||
protected abstract submit(): Promise<boolean | undefined>;
|
||||
protected invalidSubmit(): Promise<boolean | undefined> {
|
||||
return false;
|
||||
return Promise.resolve(false);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -564,7 +564,7 @@ export class UmbDocumentWorkspaceContext
|
||||
variantIds = result?.selection.map((x) => UmbVariantId.FromString(x)) ?? [];
|
||||
}
|
||||
|
||||
// TODO: Only validate the specified selction.. [NL]
|
||||
// TODO: Only validate the specified selection.. [NL]
|
||||
return this.validateAndSubmit(async (valid) => {
|
||||
if (valid) {
|
||||
return this.#performSaveAndPublish(variantIds);
|
||||
|
||||
Reference in New Issue
Block a user