Compare commits
2 commits
ec6ae661b8
...
031f8fa1c4
Author | SHA1 | Date | |
---|---|---|---|
031f8fa1c4 | |||
4cdec767b6 |
2 changed files with 1 additions and 16 deletions
15
config.json
15
config.json
|
@ -26,21 +26,6 @@
|
|||
"name": "My Service",
|
||||
"url": "http://sp-codes.de",
|
||||
"statePath": "$.state"
|
||||
}, {
|
||||
"id": "test3",
|
||||
"name": "Test3",
|
||||
"statePath": "$.state"
|
||||
}
|
||||
]
|
||||
}, {
|
||||
"id": "group2",
|
||||
"name": "Group2",
|
||||
"services": [
|
||||
{
|
||||
"id": "test2",
|
||||
"name": "Test2",
|
||||
"url": "http://sp-codes.de",
|
||||
"statePath": "$.state"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
@ -38,7 +38,7 @@ export class AppComponent implements OnInit {
|
|||
this.api.getMetaInfo().subscribe(info => {
|
||||
this.title = info.title;
|
||||
this.description = info.description;
|
||||
this.translations = info.translations;
|
||||
this.translations = info.translations || {};
|
||||
this.htmlTitle.setTitle(this.title);
|
||||
});
|
||||
}
|
||||
|
|
Reference in a new issue