]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/videos/+video-watch/modal/video-support.component.ts
Slightly more personal support modal
[github/Chocobozzz/PeerTube.git] / client / src / app / videos / +video-watch / modal / video-support.component.ts
index b56a51fbf7ce16685b4cfae11fc7fc1e9d5cf477..027b54efb0a230cbeebf8f2cd0829d69aa09ac4c 100644 (file)
@@ -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