UI: Suppress confusing reputation-earned dialog on augment install (#739)

This commit is contained in:
Michael Ficocelli
2023-08-28 15:12:13 -04:00
committed by GitHub
parent 9a0d688909
commit 62058a7f78
8 changed files with 13 additions and 12 deletions
+2 -2
View File
@@ -111,8 +111,8 @@ export class ClassWork extends Work {
return false;
}
finish(): void {
if (!this.singularity) {
finish(cancelled: boolean, suppressDialog?: boolean): void {
if (!this.singularity && !suppressDialog) {
dialogBoxCreate(
<>
After {this.getClass().youAreCurrently} for{" "}