|
@@ -85,7 +85,7 @@ export class AppComponent extends BaseComponent implements OnInit {
|
|
|
).subscribe(title => {
|
|
).subscribe(title => {
|
|
|
if (typeof title === 'string')
|
|
if (typeof title === 'string')
|
|
|
this.title = title;
|
|
this.title = title;
|
|
|
- else this.title = this.getLabel(title.key,title.default);
|
|
|
|
|
|
|
+ else this.title = this.getLabel(title?.key,title?.default);
|
|
|
this.pbTitle.setTitle(this.title);
|
|
this.pbTitle.setTitle(this.title);
|
|
|
});
|
|
});
|
|
|
|
|
|