diff options
author | Chocobozzz <me@florianbigard.com> | 2019-09-05 09:43:35 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2019-09-05 10:17:02 +0200 |
commit | be04c6fdab5d91a7a57fa3ff36cde22a549c29da (patch) | |
tree | b273cfb4cf3d0b73b12a1b9bb25884851255fc7e /client/src/app/shared | |
parent | 592c735c19b25e9b38f82d90d15a81307902ed62 (diff) | |
download | PeerTube-be04c6fdab5d91a7a57fa3ff36cde22a549c29da.tar.gz PeerTube-be04c6fdab5d91a7a57fa3ff36cde22a549c29da.tar.zst PeerTube-be04c6fdab5d91a7a57fa3ff36cde22a549c29da.zip |
Add hardware information in instance config
Diffstat (limited to 'client/src/app/shared')
-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 | ||