Skip to content

Commit 266fac8

Browse files
Copilotrenemadsen
andcommitted
Fix catchError operator to use RxJS 7+ API
Co-authored-by: renemadsen <[email protected]>
1 parent 1ece350 commit 266fac8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eform-client/src/app/plugins/modules/time-planning-pn/components/plannings/time-planning-actions/download-excel/download-excel-dialog.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ export class DownloadExcelDialogComponent implements OnInit, OnDestroy {
6464
this.downloadReportSub$ = this.workingHoursService
6565
.downloadReport(model)
6666
.pipe(catchError(
67-
(error, caught) => {
67+
(error) => {
6868
this.toastrService.error('Error downloading report');
6969
return EMPTY;
7070
}))

0 commit comments

Comments
 (0)