diff options
author | Chocobozzz <me@florianbigard.com> | 2020-11-17 14:49:36 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2020-11-17 14:52:57 +0100 |
commit | 47dc5db9c38d72666da5733a7a026976ec7dac04 (patch) | |
tree | c14de369e6a3faa476ad66a8e9dc6a91f4ab5892 /client | |
parent | 45c70083ddb7f57c52e2c587d6e3ab581c657716 (diff) | |
download | PeerTube-47dc5db9c38d72666da5733a7a026976ec7dac04.tar.gz PeerTube-47dc5db9c38d72666da5733a7a026976ec7dac04.tar.zst PeerTube-47dc5db9c38d72666da5733a7a026976ec7dac04.zip |
Fix client build
Diffstat (limited to 'client')
-rw-r--r-- | client/src/app/shared/shared-main/misc/help.component.ts | 6 |
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 @@ | |||
1 | import { AfterContentInit, Component, ContentChildren, Input, OnChanges, OnInit, QueryList, TemplateRef } from '@angular/core' | 1 | import { AfterContentInit, Component, ContentChildren, Input, OnChanges, OnInit, QueryList, TemplateRef } from '@angular/core' |
2 | import { MarkdownService } from '@app/core' | ||
3 | import { GlobalIconName } from '@app/shared/shared-icons' | 2 | import { GlobalIconName } from '@app/shared/shared-icons' |
3 | import { ENHANCED_RULES, TEXT_RULES } from '@shared/core-utils/renderer/markdown' | ||
4 | import { PeerTubeTemplateDirective } from '../angular' | 4 | import { 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 | } |