- .pipe(
- switchMap(about => {
- return forkJoin([
- this.instanceService.buildTranslatedLanguages(about),
- this.instanceService.buildTranslatedCategories(about)
- ]).pipe(map(([ languages, categories ]) => ({ about, languages, categories })))
- })
- )
+ .pipe(
+ switchMap(about => {
+ return forkJoin([
+ Promise.resolve(about),
+ this.instanceService.buildTranslatedLanguages(about),
+ this.instanceService.buildTranslatedCategories(about),
+ this.instanceService.buildHtml(about),
+ this.customMarkupService.buildElement(about.instance.description)
+ ])
+ })
+ )
+ }
+
+ private buildInstanceStatsObservable () {
+ return this.serverService.getServerStats()