diff options
author | Chocobozzz <me@florianbigard.com> | 2020-01-21 10:47:56 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2020-01-21 10:47:56 +0100 |
commit | 4ee6a8b13edb0dd6186139f3a6589b06139f464b (patch) | |
tree | cfde5fc6215500a94047037e58861a44adaa5eab /client/src/app/shared | |
parent | 7738273b808f0ff1494f18c4cc13553505e6ac6d (diff) | |
download | PeerTube-4ee6a8b13edb0dd6186139f3a6589b06139f464b.tar.gz PeerTube-4ee6a8b13edb0dd6186139f3a6589b06139f464b.tar.zst PeerTube-4ee6a8b13edb0dd6186139f3a6589b06139f464b.zip |
Fix admin config form for auto follow
Diffstat (limited to 'client/src/app/shared')
-rw-r--r-- | client/src/app/shared/forms/markdown-textarea.component.html | 2 | ||||
-rw-r--r-- | client/src/app/shared/forms/markdown-textarea.component.ts | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/client/src/app/shared/forms/markdown-textarea.component.html b/client/src/app/shared/forms/markdown-textarea.component.html index 3de3b6fcd..0925b9ad5 100644 --- a/client/src/app/shared/forms/markdown-textarea.component.html +++ b/client/src/app/shared/forms/markdown-textarea.component.html | |||
@@ -2,7 +2,7 @@ | |||
2 | <textarea | 2 | <textarea |
3 | [(ngModel)]="content" (ngModelChange)="onModelChange()" | 3 | [(ngModel)]="content" (ngModelChange)="onModelChange()" |
4 | [ngClass]="classes" [ngStyle]="{ width: textareaWidth, height: textareaHeight, 'margin-right': textareaMarginRight }" | 4 | [ngClass]="classes" [ngStyle]="{ width: textareaWidth, height: textareaHeight, 'margin-right': textareaMarginRight }" |
5 | id="description" name="description"> | 5 | [id]="name" [name]="name"> |
6 | </textarea> | 6 | </textarea> |
7 | 7 | ||
8 | <ngb-tabset *ngIf="arePreviewsDisplayed()" class="previews" type="pills"> | 8 | <ngb-tabset *ngIf="arePreviewsDisplayed()" class="previews" type="pills"> |
diff --git a/client/src/app/shared/forms/markdown-textarea.component.ts b/client/src/app/shared/forms/markdown-textarea.component.ts index 0c5788899..19cd37573 100644 --- a/client/src/app/shared/forms/markdown-textarea.component.ts +++ b/client/src/app/shared/forms/markdown-textarea.component.ts | |||
@@ -28,6 +28,7 @@ export class MarkdownTextareaComponent implements ControlValueAccessor, OnInit { | |||
28 | @Input() truncate: number | 28 | @Input() truncate: number |
29 | @Input() markdownType: 'text' | 'enhanced' = 'text' | 29 | @Input() markdownType: 'text' | 'enhanced' = 'text' |
30 | @Input() markdownVideo = false | 30 | @Input() markdownVideo = false |
31 | @Input() name = 'description' | ||
31 | 32 | ||
32 | textareaMarginRight = '0' | 33 | textareaMarginRight = '0' |
33 | flexDirection = 'column' | 34 | flexDirection = 'column' |