diff --git a/src/app/pdf-viewer/pdf-viewer.component.ts b/src/app/pdf-viewer/pdf-viewer.component.ts index e63580d2..aa4da141 100644 --- a/src/app/pdf-viewer/pdf-viewer.component.ts +++ b/src/app/pdf-viewer/pdf-viewer.component.ts @@ -488,6 +488,7 @@ export class PdfViewerComponent private loadPDF() { if (!this.src) { + this.onError.emit(); return; }