From 1053480b2561a35613551ea543d4d77bf8937b8c Mon Sep 17 00:00:00 2001 From: Rigel Kent Date: Fri, 27 Dec 2019 17:03:48 +0100 Subject: Slightly more personal support modal --- client/src/app/videos/+video-watch/modal/video-support.component.ts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'client/src/app/videos/+video-watch/modal/video-support.component.ts') 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 -- cgit v1.2.3