diff options
Diffstat (limited to 'client/src/app/shared/shared-video-miniature')
-rw-r--r-- | client/src/app/shared/shared-video-miniature/video-actions-dropdown.component.html | 2 | ||||
-rw-r--r-- | client/src/app/shared/shared-video-miniature/video-actions-dropdown.component.ts | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/client/src/app/shared/shared-video-miniature/video-actions-dropdown.component.html b/client/src/app/shared/shared-video-miniature/video-actions-dropdown.component.html index 7a6394202..3fea2a8a4 100644 --- a/client/src/app/shared/shared-video-miniature/video-actions-dropdown.component.html +++ b/client/src/app/shared/shared-video-miniature/video-actions-dropdown.component.html | |||
@@ -20,6 +20,6 @@ | |||
20 | 20 | ||
21 | <my-video-download #videoDownloadModal></my-video-download> | 21 | <my-video-download #videoDownloadModal></my-video-download> |
22 | <my-video-report #videoReportModal [video]="video"></my-video-report> | 22 | <my-video-report #videoReportModal [video]="video"></my-video-report> |
23 | <my-video-block #videoBlockModal [video]="video" (videoBlocked)="onVideoBlocked()"></my-video-block> | 23 | <my-video-block #videoBlockModal (videoBlocked)="onVideoBlocked()"></my-video-block> |
24 | <my-live-stream-information #liveStreamInformationModal *ngIf="displayOptions.liveInfo"></my-live-stream-information> | 24 | <my-live-stream-information #liveStreamInformationModal *ngIf="displayOptions.liveInfo"></my-live-stream-information> |
25 | </ng-container> | 25 | </ng-container> |
diff --git a/client/src/app/shared/shared-video-miniature/video-actions-dropdown.component.ts b/client/src/app/shared/shared-video-miniature/video-actions-dropdown.component.ts index 790ae2a5e..eff56b40e 100644 --- a/client/src/app/shared/shared-video-miniature/video-actions-dropdown.component.ts +++ b/client/src/app/shared/shared-video-miniature/video-actions-dropdown.component.ts | |||
@@ -128,7 +128,7 @@ export class VideoActionsDropdownComponent implements OnChanges { | |||
128 | showBlockModal () { | 128 | showBlockModal () { |
129 | this.modalOpened.emit() | 129 | this.modalOpened.emit() |
130 | 130 | ||
131 | this.videoBlockModal.show() | 131 | this.videoBlockModal.show([ this.video ]) |
132 | } | 132 | } |
133 | 133 | ||
134 | showLiveInfoModal (video: Video) { | 134 | showLiveInfoModal (video: Video) { |