diff --git a/src/app/dashboard/dashboard.component.ts b/src/app/dashboard/dashboard.component.ts index 8af2e67..89b5b5a 100644 --- a/src/app/dashboard/dashboard.component.ts +++ b/src/app/dashboard/dashboard.component.ts @@ -168,6 +168,10 @@ export class DashboardComponent implements OnInit, OnDestroy { errors.pipe( tap( response => { + if (this.iframeUrl.value === '') { + this.iframeReloadSubscription.unsubscribe(); + this.polling.next(false); + } if (response.status === 200) { this.iframeReloadSubscription.unsubscribe(); this.polling.next(false);