aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/videos
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-05-15 16:23:44 +0200
committerChocobozzz <me@florianbigard.com>2018-05-16 09:42:54 +0200
commite998cf3cc757b58f06adae7a367e88b494c609d2 (patch)
tree3d930ca12a18fbf46f654a8bf1e882209cb711fd /client/src/app/videos
parentdb400f447a9f7aae1c56fa25396e93069744483f (diff)
downloadPeerTube-e998cf3cc757b58f06adae7a367e88b494c609d2.tar.gz
PeerTube-e998cf3cc757b58f06adae7a367e88b494c609d2.tar.zst
PeerTube-e998cf3cc757b58f06adae7a367e88b494c609d2.zip
Fix some components after Angular 6 upgrade
Diffstat (limited to 'client/src/app/videos')
-rw-r--r--client/src/app/videos/+video-edit/shared/video-edit.component.html2
-rw-r--r--client/src/app/videos/+video-edit/shared/video-edit.component.scss4
-rw-r--r--client/src/app/videos/+video-edit/shared/video-edit.component.ts1
3 files changed, 1 insertions, 6 deletions
diff --git a/client/src/app/videos/+video-edit/shared/video-edit.component.html b/client/src/app/videos/+video-edit/shared/video-edit.component.html
index 77b554ad5..7e1be4467 100644
--- a/client/src/app/videos/+video-edit/shared/video-edit.component.html
+++ b/client/src/app/videos/+video-edit/shared/video-edit.component.html
@@ -14,7 +14,7 @@
14 <div class="form-group"> 14 <div class="form-group">
15 <label class="label-tags">Tags</label> <span>(press Enter to add)</span> 15 <label class="label-tags">Tags</label> <span>(press Enter to add)</span>
16 <tag-input 16 <tag-input
17 [ngModel]="tags" [validators]="tagValidators" [errorMessages]="tagValidatorsMessages" 17 [validators]="tagValidators" [errorMessages]="tagValidatorsMessages"
18 formControlName="tags" maxItems="5" modelAsStrings="true" 18 formControlName="tags" maxItems="5" modelAsStrings="true"
19 ></tag-input> 19 ></tag-input>
20 </div> 20 </div>
diff --git a/client/src/app/videos/+video-edit/shared/video-edit.component.scss b/client/src/app/videos/+video-edit/shared/video-edit.component.scss
index 58ed5ab98..1295cf098 100644
--- a/client/src/app/videos/+video-edit/shared/video-edit.component.scss
+++ b/client/src/app/videos/+video-edit/shared/video-edit.component.scss
@@ -5,10 +5,6 @@
5 @include peertube-select-container(auto); 5 @include peertube-select-container(auto);
6} 6}
7 7
8.form-group-checkbox {
9 my-help { margin-left: 5px }
10}
11
12.video-edit { 8.video-edit {
13 height: 100%; 9 height: 100%;
14 10
diff --git a/client/src/app/videos/+video-edit/shared/video-edit.component.ts b/client/src/app/videos/+video-edit/shared/video-edit.component.ts
index eab0a898e..af4438bd2 100644
--- a/client/src/app/videos/+video-edit/shared/video-edit.component.ts
+++ b/client/src/app/videos/+video-edit/shared/video-edit.component.ts
@@ -30,7 +30,6 @@ export class VideoEditComponent implements OnInit {
30 @Input() videoPrivacies = [] 30 @Input() videoPrivacies = []
31 @Input() userVideoChannels = [] 31 @Input() userVideoChannels = []
32 32
33 tags: string[] = []
34 videoCategories = [] 33 videoCategories = []
35 videoLicences = [] 34 videoLicences = []
36 videoLanguages = [] 35 videoLanguages = []