From be04c6fdab5d91a7a57fa3ff36cde22a549c29da Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 5 Sep 2019 09:43:35 +0200 Subject: Add hardware information in instance config --- client/src/app/shared/instance/instance.service.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'client/src/app/shared') 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 { terms: '', codeOfConduct: '', moderationInformation: '', - administrator: '' + administrator: '', + hardwareInformation: '' } - for (const key of [ 'description', 'terms', 'codeOfConduct', 'moderationInformation', 'administrator' ]) { + for (const key of Object.keys(html)) { html[ key ] = await this.markdownService.textMarkdownToHTML(about.instance[ key ]) } -- cgit v1.2.3