X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fshared%2Fvideo%2Fmodals%2Fvideo-blacklist.component.ts;h=bdd9c7b995867361465fe4ebedffeec05a9bf208;hb=be27ef3b4682c5639039474c39ee0d234d16f482;hp=f0c70a3650f4cdccdcdf7e34e38119c4dbe045e6;hpb=f36da21e40104a50acb00132920b835240cebb38;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 f0c70a365..bdd9c7b99 100644 --- a/client/src/app/shared/video/modals/video-blacklist.component.ts +++ b/client/src/app/shared/video/modals/video-blacklist.component.ts @@ -1,12 +1,12 @@ import { Component, EventEmitter, Input, OnInit, Output, ViewChild } from '@angular/core' import { Notifier, RedirectService } from '@app/core' import { VideoBlacklistService } from '../../../shared/video-blacklist' -import { VideoDetails } from '../../../shared/video/video-details.model' import { I18n } from '@ngx-translate/i18n-polyfill' import { FormValidatorService } from '@app/shared/forms/form-validators/form-validator.service' import { NgbModal } from '@ng-bootstrap/ng-bootstrap' import { NgbModalRef } from '@ng-bootstrap/ng-bootstrap/modal/modal-ref' import { FormReactive, VideoBlacklistValidatorsService } from '@app/shared/forms' +import { Video } from '@app/shared/video/video.model' @Component({ selector: 'my-video-blacklist', @@ -14,7 +14,7 @@ import { FormReactive, VideoBlacklistValidatorsService } from '@app/shared/forms styleUrls: [ './video-blacklist.component.scss' ] }) export class VideoBlacklistComponent extends FormReactive implements OnInit { - @Input() video: VideoDetails = null + @Input() video: Video = null @ViewChild('modal', { static: true }) modal: NgbModal