From 47dc5db9c38d72666da5733a7a026976ec7dac04 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 17 Nov 2020 14:49:36 +0100 Subject: Fix client build --- client/src/app/shared/shared-main/misc/help.component.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'client/src/app/shared') 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 @@ import { AfterContentInit, Component, ContentChildren, Input, OnChanges, OnInit, QueryList, TemplateRef } from '@angular/core' -import { MarkdownService } from '@app/core' import { GlobalIconName } from '@app/shared/shared-icons' +import { ENHANCED_RULES, TEXT_RULES } from '@shared/core-utils/renderer/markdown' import { PeerTubeTemplateDirective } from '../angular' @Component({ @@ -60,12 +60,12 @@ export class HelpComponent implements OnInit, OnChanges, AfterContentInit { private init () { if (this.helpType === 'markdownText') { - this.mainHtml = this.formatMarkdownSupport(MarkdownService.TEXT_RULES) + this.mainHtml = this.formatMarkdownSupport(TEXT_RULES) return } if (this.helpType === 'markdownEnhanced') { - this.mainHtml = this.formatMarkdownSupport(MarkdownService.ENHANCED_RULES) + this.mainHtml = this.formatMarkdownSupport(ENHANCED_RULES) return } } -- cgit v1.2.3