Explorar el Código

minor debug and enhancements

tigger hace 1 año
padre
commit
a35f66b0f4
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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);
     });