aboutsummaryrefslogtreecommitdiffhomepage
path: root/client
diff options
context:
space:
mode:
Diffstat (limited to 'client')
-rw-r--r--client/src/app/shared/video/video.service.ts3
-rw-r--r--client/src/app/videos/+video-watch/video-watch.component.html2
2 files changed, 3 insertions, 2 deletions
diff --git a/client/src/app/shared/video/video.service.ts b/client/src/app/shared/video/video.service.ts
index 99da14779..a151a2983 100644
--- a/client/src/app/shared/video/video.service.ts
+++ b/client/src/app/shared/video/video.service.ts
@@ -51,18 +51,19 @@ export class VideoService {
51 const licence = video.licence || undefined 51 const licence = video.licence || undefined
52 const category = video.category || undefined 52 const category = video.category || undefined
53 const description = video.description || undefined 53 const description = video.description || undefined
54 const support = video.support || undefined
54 55
55 const body: VideoUpdate = { 56 const body: VideoUpdate = {
56 name: video.name, 57 name: video.name,
57 category, 58 category,
58 licence, 59 licence,
59 language, 60 language,
61 support,
60 description, 62 description,
61 privacy: video.privacy, 63 privacy: video.privacy,
62 tags: video.tags, 64 tags: video.tags,
63 nsfw: video.nsfw, 65 nsfw: video.nsfw,
64 commentsEnabled: video.commentsEnabled, 66 commentsEnabled: video.commentsEnabled,
65 support: video.support,
66 thumbnailfile: video.thumbnailfile, 67 thumbnailfile: video.thumbnailfile,
67 previewfile: video.previewfile 68 previewfile: video.previewfile
68 } 69 }
diff --git a/client/src/app/videos/+video-watch/video-watch.component.html b/client/src/app/videos/+video-watch/video-watch.component.html
index b8ec048b2..2869d13dd 100644
--- a/client/src/app/videos/+video-watch/video-watch.component.html
+++ b/client/src/app/videos/+video-watch/video-watch.component.html
@@ -44,7 +44,7 @@
44 <span class="icon icon-dislike" title="Dislike this video"></span> 44 <span class="icon icon-dislike" title="Dislike this video"></span>
45 </div> 45 </div>
46 46
47 <div (click)="showSupportModal()" class="action-button action-button-support"> 47 <div *ngIf="video.support" (click)="showSupportModal()" class="action-button action-button-support">
48 <span class="icon icon-support"></span> 48 <span class="icon icon-support"></span>
49 <span class="icon-text">Support</span> 49 <span class="icon-text">Support</span>
50 </div> 50 </div>