X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;ds=sidebyside;f=client%2Fsrc%2Fapp%2Fshared%2Fvideo%2Fmodals%2Fvideo-blacklist.component.ts;h=f0c70a3650f4cdccdcdf7e34e38119c4dbe045e6;hb=f36da21e40104a50acb00132920b835240cebb38;hp=4e4e8dc50324ff8e8c1a8a021db8d0c351a405c7;hpb=a353a4d77c2109f3d2412c54850a6534cf3b0b7f;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/shared/video/modals/video-blacklist.component.ts b/client/src/app/shared/video/modals/video-blacklist.component.ts index 4e4e8dc50..f0c70a365 100644 --- a/client/src/app/shared/video/modals/video-blacklist.component.ts +++ b/client/src/app/shared/video/modals/video-blacklist.component.ts @@ -16,7 +16,7 @@ import { FormReactive, VideoBlacklistValidatorsService } from '@app/shared/forms export class VideoBlacklistComponent extends FormReactive implements OnInit { @Input() video: VideoDetails = null - @ViewChild('modal') modal: NgbModal + @ViewChild('modal', { static: true }) modal: NgbModal @Output() videoBlacklisted = new EventEmitter()