Skip to content

Commit

Permalink
chore(Archive Run): Change snackbar wording to use Unit instead of Run
Browse files Browse the repository at this point in the history
  • Loading branch information
geoffreykwan committed Aug 24, 2023
1 parent 2557f0e commit 3de99b1
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -243,11 +243,11 @@ export class TeacherRunListComponent implements OnInit {
this.snackBar.open(
$localize`Successfully Archived ${
archiveProjectsResponse.filter((response) => response.archived).length
} Runs`
} Units`
);
},
error: () => {
this.snackBar.open($localize`Error Archiving Runs`);
this.snackBar.open($localize`Error Archiving Units`);
}
});
}
Expand All @@ -261,11 +261,11 @@ export class TeacherRunListComponent implements OnInit {
this.snackBar.open(
$localize`Successfully Unarchived ${
archiveProjectsResponse.filter((response) => !response.archived).length
} Runs`
} Units`
);
},
error: () => {
this.snackBar.open($localize`Error Unarchiving Runs`);
this.snackBar.open($localize`Error Unarchiving Units`);
}
});
}
Expand Down

0 comments on commit 3de99b1

Please sign in to comment.