]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/shared/video/modals/video-blacklist.component.ts
Update angular
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / video / modals / video-blacklist.component.ts
index 4e4e8dc50324ff8e8c1a8a021db8d0c351a405c7..f0c70a3650f4cdccdcdf7e34e38119c4dbe045e6 100644 (file)
@@ -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()