aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/videos
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-04-08 09:30:07 +0200
committerChocobozzz <me@florianbigard.com>2019-04-08 09:30:07 +0200
commit0a57bbff2141de718aa901bfbdd147468fd624c6 (patch)
treeb1258978d0fdf35a08537cd43fa883060e431bb1 /client/src/app/videos
parentae3171b66001bab3b67e6ea87190339e3cc3b677 (diff)
downloadPeerTube-0a57bbff2141de718aa901bfbdd147468fd624c6.tar.gz
PeerTube-0a57bbff2141de718aa901bfbdd147468fd624c6.tar.zst
PeerTube-0a57bbff2141de718aa901bfbdd147468fd624c6.zip
Handle actions in other videos section
Diffstat (limited to 'client/src/app/videos')
-rw-r--r--client/src/app/videos/+video-watch/video-watch.component.ts1
-rw-r--r--client/src/app/videos/recommendations/recommended-videos.component.html2
-rw-r--r--client/src/app/videos/recommendations/recommended-videos.component.ts3
3 files changed, 4 insertions, 2 deletions
diff --git a/client/src/app/videos/+video-watch/video-watch.component.ts b/client/src/app/videos/+video-watch/video-watch.component.ts
index 53673d9d9..edc546b28 100644
--- a/client/src/app/videos/+video-watch/video-watch.component.ts
+++ b/client/src/app/videos/+video-watch/video-watch.component.ts
@@ -29,7 +29,6 @@ import { VideoPlaylist } from '@app/shared/video-playlist/video-playlist.model'
29import { VideoPlaylistService } from '@app/shared/video-playlist/video-playlist.service' 29import { VideoPlaylistService } from '@app/shared/video-playlist/video-playlist.service'
30import { ComponentPagination } from '@app/shared/rest/component-pagination.model' 30import { ComponentPagination } from '@app/shared/rest/component-pagination.model'
31import { Video } from '@app/shared/video/video.model' 31import { Video } from '@app/shared/video/video.model'
32import { VideoActionsDisplayType } from '@app/shared/video/video-actions-dropdown.component'
33 32
34@Component({ 33@Component({
35 selector: 'my-video-watch', 34 selector: 'my-video-watch',
diff --git a/client/src/app/videos/recommendations/recommended-videos.component.html b/client/src/app/videos/recommendations/recommended-videos.component.html
index 73f9f0fe1..1fb89f8b0 100644
--- a/client/src/app/videos/recommendations/recommended-videos.component.html
+++ b/client/src/app/videos/recommendations/recommended-videos.component.html
@@ -4,6 +4,6 @@
4 </div> 4 </div>
5 5
6 <div *ngFor="let video of (videos$ | async)"> 6 <div *ngFor="let video of (videos$ | async)">
7 <my-video-miniature [video]="video" [user]="user"></my-video-miniature> 7 <my-video-miniature [video]="video" [user]="user" (videoBlacklisted)="onVideoRemoved()" (videoRemoved)="onVideoRemoved()"></my-video-miniature>
8 </div> 8 </div>
9</div> 9</div>
diff --git a/client/src/app/videos/recommendations/recommended-videos.component.ts b/client/src/app/videos/recommendations/recommended-videos.component.ts
index c6c1d9e5d..68fd750cc 100644
--- a/client/src/app/videos/recommendations/recommended-videos.component.ts
+++ b/client/src/app/videos/recommendations/recommended-videos.component.ts
@@ -29,4 +29,7 @@ export class RecommendedVideosComponent implements OnChanges {
29 } 29 }
30 } 30 }
31 31
32 onVideoRemoved () {
33 this.store.requestNewRecommendations(this.inputRecommendation)
34 }
32} 35}