From 3bf1ec2ebb6da3ffbfb2af505268a47d38956d28 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 21 Feb 2018 08:49:05 +0100 Subject: Hide support button if it is empty --- client/src/app/shared/video/video.service.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'client/src/app/shared/video') 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 { const licence = video.licence || undefined const category = video.category || undefined const description = video.description || undefined + const support = video.support || undefined const body: VideoUpdate = { name: video.name, category, licence, language, + support, description, privacy: video.privacy, tags: video.tags, nsfw: video.nsfw, commentsEnabled: video.commentsEnabled, - support: video.support, thumbnailfile: video.thumbnailfile, previewfile: video.previewfile } -- cgit v1.2.3