Skip to content

Commit

Permalink
[TEAMMATES#12551] Sessions page fix (TEAMMATES#12561)
Browse files Browse the repository at this point in the history
* loading fix
* error toast
* Revert "error toast"
* fixed formatting by reverting commit
* Remove toast
  • Loading branch information
DamiGbs authored Sep 6, 2023
1 parent c6e3b18 commit ceb0bcf
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,9 @@ export class InstructorSessionsPageComponent extends InstructorSessionModalPageC
const requestList: Observable<FeedbackSession>[] = this.createSessionCopyRequestsFromRowModel(
this.sessionsTableRowModels[result.sessionToCopyRowIndex], result);
if (requestList.length === 1) {
this.copySingleSession(requestList[0], this.modifiedTimestampsModal);
this.copySingleSession(requestList[0].pipe(finalize(() => {
this.isCopySessionLoading = false;
})), this.modifiedTimestampsModal);
}
if (requestList.length > 1) {
forkJoin(requestList).pipe(finalize(() => {
Expand Down

0 comments on commit ceb0bcf

Please sign in to comment.