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 @@ - +