aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-11-17 14:49:36 +0100
committerChocobozzz <me@florianbigard.com>2020-11-17 14:52:57 +0100
commit47dc5db9c38d72666da5733a7a026976ec7dac04 (patch)
treec14de369e6a3faa476ad66a8e9dc6a91f4ab5892 /client/src/app
parent45c70083ddb7f57c52e2c587d6e3ab581c657716 (diff)
downloadPeerTube-47dc5db9c38d72666da5733a7a026976ec7dac04.tar.gz
PeerTube-47dc5db9c38d72666da5733a7a026976ec7dac04.tar.zst
PeerTube-47dc5db9c38d72666da5733a7a026976ec7dac04.zip
Fix client build
Diffstat (limited to 'client/src/app')
-rw-r--r--client/src/app/shared/shared-main/misc/help.component.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/client/src/app/shared/shared-main/misc/help.component.ts b/client/src/app/shared/shared-main/misc/help.component.ts
index 9647e05bd..76e255d99 100644
--- a/client/src/app/shared/shared-main/misc/help.component.ts
+++ b/client/src/app/shared/shared-main/misc/help.component.ts
@@ -1,6 +1,6 @@
1import { AfterContentInit, Component, ContentChildren, Input, OnChanges, OnInit, QueryList, TemplateRef } from '@angular/core' 1import { AfterContentInit, Component, ContentChildren, Input, OnChanges, OnInit, QueryList, TemplateRef } from '@angular/core'
2import { MarkdownService } from '@app/core'
3import { GlobalIconName } from '@app/shared/shared-icons' 2import { GlobalIconName } from '@app/shared/shared-icons'
3import { ENHANCED_RULES, TEXT_RULES } from '@shared/core-utils/renderer/markdown'
4import { PeerTubeTemplateDirective } from '../angular' 4import { PeerTubeTemplateDirective } from '../angular'
5 5
6@Component({ 6@Component({
@@ -60,12 +60,12 @@ export class HelpComponent implements OnInit, OnChanges, AfterContentInit {
60 60
61 private init () { 61 private init () {
62 if (this.helpType === 'markdownText') { 62 if (this.helpType === 'markdownText') {
63 this.mainHtml = this.formatMarkdownSupport(MarkdownService.TEXT_RULES) 63 this.mainHtml = this.formatMarkdownSupport(TEXT_RULES)
64 return 64 return
65 } 65 }
66 66
67 if (this.helpType === 'markdownEnhanced') { 67 if (this.helpType === 'markdownEnhanced') {
68 this.mainHtml = this.formatMarkdownSupport(MarkdownService.ENHANCED_RULES) 68 this.mainHtml = this.formatMarkdownSupport(ENHANCED_RULES)
69 return 69 return
70 } 70 }
71 } 71 }