comment correction

This commit is contained in:
Niels Lyngsø
2024-04-02 08:49:38 +02:00
parent 76f69e9675
commit 8b2e8b7770
2 changed files with 2 additions and 2 deletions

View File

@@ -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);
}
}

View File

@@ -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);