Skip to content
Snippets Groups Projects
Commit d9692633 authored by jojohoch's avatar jojohoch
Browse files

[player] Init playerConfig in AppComponent with null

parent 2c5361df
No related branches found
No related tags found
No related merge requests found
......@@ -28,7 +28,7 @@ export class AppComponent implements OnInit {
scrollPages: Page[] = [];
alwaysVisibleUnitPageIndex: number = -1;
alwaysVisiblePage: Page | null = null;
playerConfig: PlayerConfig | undefined = undefined;
playerConfig: PlayerConfig | null = null;
constructor(private translateService: TranslateService,
private veronaSubscriptionService: VeronaSubscriptionService,
......@@ -130,7 +130,7 @@ export class AppComponent implements OnInit {
this.scrollPages = [];
this.alwaysVisibleUnitPageIndex = -1;
this.alwaysVisiblePage = null;
this.playerConfig = {};
this.playerConfig = null;
this.unitStateService.reset();
this.mediaPlayerService.reset();
this.validatorService.reset();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment