- ngOnInit () {
- forkJoin([
- this.instanceService.getAbout(),
- this.serverService.localeObservable.pipe(first()),
- this.serverService.videoLanguagesLoaded.pipe(first()),
- this.serverService.videoCategoriesLoaded.pipe(first())
- ]).subscribe(
- async ([ about, translations ]) => {
- this.shortDescription = about.instance.shortDescription
+ async ngOnInit () {
+ this.serverConfig = this.serverService.getTmpConfig()
+ this.serverService.getConfig()
+ .subscribe(config => this.serverConfig = config)
+
+ const { about, languages, categories }: ResolverData = this.route.snapshot.data.instanceData