Forráskód Böngészése

minor debug and enhancements

tigger 1 éve
szülő
commit
a35f66b0f4
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      src/app/app.component.ts

+ 1 - 1
src/app/app.component.ts

@@ -85,7 +85,7 @@ export class AppComponent extends BaseComponent implements OnInit {
     ).subscribe(title => {
       if (typeof title === 'string')
         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);
     });