X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fvideos%2Fvideo-watch%2Fvideo-report.component.ts;h=528005b84126428e46095264ff552042aa94c7e9;hb=46757b477c1adb5f98060d15998a3852e18902a6;hp=7906fdb5c429c3da6cc4b10c5dfb583cc2651b38;hpb=5769e1db8d3d5a1e3baa8dff23090cfe93d48a50;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/videos/video-watch/video-report.component.ts b/client/src/app/videos/video-watch/video-report.component.ts index 7906fdb5c..528005b84 100644 --- a/client/src/app/videos/video-watch/video-report.component.ts +++ b/client/src/app/videos/video-watch/video-report.component.ts @@ -1,7 +1,7 @@ import { Component, Input, OnInit, ViewChild } from '@angular/core'; import { FormBuilder, FormGroup } from '@angular/forms'; -import { ModalDirective } from 'ng2-bootstrap/modal'; +import { ModalDirective } from 'ngx-bootstrap/modal'; import { NotificationsService } from 'angular2-notifications'; import { FormReactive, VideoAbuseService, VIDEO_ABUSE_REASON } from '../../shared'; @@ -54,7 +54,7 @@ export class VideoReportComponent extends FormReactive implements OnInit { } report() { - const reason = this.form.value['reason'] + const reason = this.form.value['reason']; this.videoAbuseService.reportVideo(this.video.id, reason) .subscribe(