mirror of https://gitlab.com/openlp/web-remote.git
Fix image not always being loaded
This commit is contained in:
parent
263e8268ba
commit
a2db7708e3
|
@ -11,6 +11,7 @@ export class MainViewComponent implements OnInit {
|
|||
constructor(private openlpService: OpenLPService) { }
|
||||
|
||||
ngOnInit() {
|
||||
this.updateImage();
|
||||
this.openlpService.stateChanged$.subscribe(item => this.updateImage());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue