Compare commits
No commits in common. "031f8fa1c48505a47796225cfebbb235e20333cc" and "ec6ae661b825a23b80881bdd39c0faf531e6d3e2" have entirely different histories.
031f8fa1c4
...
ec6ae661b8
2 changed files with 16 additions and 1 deletions
15
config.json
15
config.json
|
@ -26,6 +26,21 @@
|
||||||
"name": "My Service",
|
"name": "My Service",
|
||||||
"url": "http://sp-codes.de",
|
"url": "http://sp-codes.de",
|
||||||
"statePath": "$.state"
|
"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.api.getMetaInfo().subscribe(info => {
|
||||||
this.title = info.title;
|
this.title = info.title;
|
||||||
this.description = info.description;
|
this.description = info.description;
|
||||||
this.translations = info.translations || {};
|
this.translations = info.translations;
|
||||||
this.htmlTitle.setTitle(this.title);
|
this.htmlTitle.setTitle(this.title);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue