aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-09-05 09:43:35 +0200
committerChocobozzz <chocobozzz@cpy.re>2019-09-05 10:17:02 +0200
commitbe04c6fdab5d91a7a57fa3ff36cde22a549c29da (patch)
treeb273cfb4cf3d0b73b12a1b9bb25884851255fc7e /client/src/app/shared
parent592c735c19b25e9b38f82d90d15a81307902ed62 (diff)
downloadPeerTube-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.ts5
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