diff options
Diffstat (limited to 'client/src/app/shared/instance')
-rw-r--r-- | client/src/app/shared/instance/instance.service.ts | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/client/src/app/shared/instance/instance.service.ts b/client/src/app/shared/instance/instance.service.ts index 7c76bc98b..44b413fa4 100644 --- a/client/src/app/shared/instance/instance.service.ts +++ b/client/src/app/shared/instance/instance.service.ts | |||
@@ -46,10 +46,11 @@ export class InstanceService { | |||
46 | terms: '', | 46 | terms: '', |
47 | codeOfConduct: '', | 47 | codeOfConduct: '', |
48 | moderationInformation: '', | 48 | moderationInformation: '', |
49 | administrator: '' | 49 | administrator: '', |
50 | hardwareInformation: '' | ||
50 | } | 51 | } |
51 | 52 | ||
52 | for (const key of [ 'description', 'terms', 'codeOfConduct', 'moderationInformation', 'administrator' ]) { | 53 | for (const key of Object.keys(html)) { |
53 | html[ key ] = await this.markdownService.textMarkdownToHTML(about.instance[ key ]) | 54 | html[ key ] = await this.markdownService.textMarkdownToHTML(about.instance[ key ]) |
54 | } | 55 | } |
55 | 56 | ||