diff options
Diffstat (limited to 'client/src/app/videos/recommendations')
-rw-r--r-- | client/src/app/videos/recommendations/recommended-videos.component.html | 2 | ||||
-rw-r--r-- | client/src/app/videos/recommendations/recommended-videos.component.ts | 3 |
2 files changed, 4 insertions, 1 deletions
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 | } |