- this.descriptionHTML = await this.markdownService.textMarkdownToHTML(res.instance.description)
- this.termsHTML = await this.markdownService.textMarkdownToHTML(res.instance.terms)
+ this.maintenanceLifetime = res.instance.maintenanceLifetime
+ this.businessModel = res.instance.businessModel
+
+ for (const key of [ 'description', 'terms', 'codeOfConduct', 'moderationInformation', 'administrator' ]) {
+ this.html[key] = await this.markdownService.textMarkdownToHTML(res.instance[key])
+ }
+
+ this.languages = res.instance.languages
+ this.categories = res.instance.categories