Fix iframe reload polling

This commit is contained in:
Gergo Turcsanyi 2020-05-29 11:54:26 +02:00
parent 4f3a6057a4
commit 96d27a7d2d
1 changed files with 2 additions and 1 deletions

View File

@ -103,7 +103,8 @@ export class DashboardComponent implements OnInit, OnDestroy {
}
reloadIframeHandler(message: WebSocketMessage) {
setTimeout(() => this.reloadIframe(), 200);
this.iframeReloadPoller.ok.subscribe(() => this.reloadIframe());
this.iframeReloadPoller.start();
}
setLayout(layout: string) {