X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fshared%2Fvideo%2Fmodals%2Fvideo-report.component.ts;h=1d368ff17f2ecae2d1d384de35b0b2e5129aa3ed;hb=f36da21e40104a50acb00132920b835240cebb38;hp=725dd020f21fbf3801cf3c9a02fedfe13ccbfa18;hpb=3a0fb65c61f80b510bce979a45d59d17948745e8;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/shared/video/modals/video-report.component.ts b/client/src/app/shared/video/modals/video-report.component.ts index 725dd020f..1d368ff17 100644 --- a/client/src/app/shared/video/modals/video-report.component.ts +++ b/client/src/app/shared/video/modals/video-report.component.ts @@ -17,7 +17,7 @@ import { VideoAbuseService } from '@app/shared/video-abuse' export class VideoReportComponent extends FormReactive implements OnInit { @Input() video: VideoDetails = null - @ViewChild('modal') modal: NgbModal + @ViewChild('modal', { static: true }) modal: NgbModal error: string = null