Fix image not always being loaded

This commit is contained in:
Simon Hanna 2018-08-31 15:59:39 +02:00
parent 263e8268ba
commit a2db7708e3
1 changed files with 1 additions and 0 deletions

View File

@ -11,6 +11,7 @@ export class MainViewComponent implements OnInit {
constructor(private openlpService: OpenLPService) { }
ngOnInit() {
this.updateImage();
this.openlpService.stateChanged$.subscribe(item => this.updateImage());
}