optimize remote load

This commit is contained in:
2022-11-09 23:31:51 +01:00
parent 0f26e6b699
commit 898587bbbd
2 changed files with 15 additions and 18 deletions

View File

@@ -62,7 +62,7 @@ export class MonitorComponent implements OnInit {
this.presentationBackground = _.presentationBackground;
this.zoom = _.presentationZoom ?? 30;
if (this.songId !== _.presentationSongId) this.songId = 'empty';
setTimeout(() => (this.songId = _.presentationSongId), 300);
setTimeout(() => (this.songId = _.presentationSongId), 600);
}),
switchMap((_: Show) => this.showSongService.read$(_.id, _.presentationSongId)),
filter(_ => !!_),