From 1053480b2561a35613551ea543d4d77bf8937b8c Mon Sep 17 00:00:00 2001 From: Rigel Kent Date: Fri, 27 Dec 2019 17:03:48 +0100 Subject: [PATCH] Slightly more personal support modal --- .../videos/+video-watch/modal/video-support.component.html | 4 ++-- .../app/videos/+video-watch/modal/video-support.component.ts | 2 ++ client/src/app/videos/+video-watch/video-watch.component.html | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/client/src/app/videos/+video-watch/modal/video-support.component.html b/client/src/app/videos/+video-watch/modal/video-support.component.html index 2a05224a8..90ca8897f 100644 --- a/client/src/app/videos/+video-watch/modal/video-support.component.html +++ b/client/src/app/videos/+video-watch/modal/video-support.component.html @@ -1,12 +1,12 @@ diff --git a/client/src/app/videos/+video-watch/modal/video-support.component.ts b/client/src/app/videos/+video-watch/modal/video-support.component.ts index b56a51fbf..027b54efb 100644 --- a/client/src/app/videos/+video-watch/modal/video-support.component.ts +++ b/client/src/app/videos/+video-watch/modal/video-support.component.ts @@ -2,6 +2,7 @@ import { Component, Input, ViewChild } from '@angular/core' import { VideoDetails } from '../../../shared/video/video-details.model' import { NgbModal } from '@ng-bootstrap/ng-bootstrap' import { MarkdownService } from '@app/shared/renderer' +import { User } from '@app/shared' @Component({ selector: 'my-video-support', @@ -10,6 +11,7 @@ import { MarkdownService } from '@app/shared/renderer' }) export class VideoSupportComponent { @Input() video: VideoDetails = null + @Input() user: User = null @ViewChild('modal', { static: true }) modal: NgbModal 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 74ac64a63..ea258711e 100644 --- a/client/src/app/videos/+video-watch/video-watch.component.html +++ b/client/src/app/videos/+video-watch/video-watch.component.html @@ -260,6 +260,6 @@ - + -- 2.25.1