diff options
author | Chocobozzz <me@florianbigard.com> | 2021-11-17 11:18:49 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-11-17 11:18:49 +0100 |
commit | 3cfa817672657df18260ece5b354efa0f3b6e317 (patch) | |
tree | 318a7113fac4fcf1e6d0f7888cda1939aeefc500 /client/src/app/shared/shared-video-miniature | |
parent | 4bdff96d77c03e5cce6052188f69a65bf6ea5781 (diff) | |
download | PeerTube-3cfa817672657df18260ece5b354efa0f3b6e317.tar.gz PeerTube-3cfa817672657df18260ece5b354efa0f3b6e317.tar.zst PeerTube-3cfa817672657df18260ece5b354efa0f3b6e317.zip |
Add ability to bulk block videos
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) { |