diff options
Diffstat (limited to 'client/src/app/shared/shared-video-miniature/video-miniature.component.ts')
-rw-r--r-- | client/src/app/shared/shared-video-miniature/video-miniature.component.ts | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/client/src/app/shared/shared-video-miniature/video-miniature.component.ts b/client/src/app/shared/shared-video-miniature/video-miniature.component.ts index 6f32977b3..e1adbb6ad 100644 --- a/client/src/app/shared/shared-video-miniature/video-miniature.component.ts +++ b/client/src/app/shared/shared-video-miniature/video-miniature.component.ts | |||
@@ -60,6 +60,7 @@ export class VideoMiniatureComponent implements OnInit { | |||
60 | @Output() videoBlocked = new EventEmitter() | 60 | @Output() videoBlocked = new EventEmitter() |
61 | @Output() videoUnblocked = new EventEmitter() | 61 | @Output() videoUnblocked = new EventEmitter() |
62 | @Output() videoRemoved = new EventEmitter() | 62 | @Output() videoRemoved = new EventEmitter() |
63 | @Output() videoAccountMuted = new EventEmitter() | ||
63 | 64 | ||
64 | videoActionsDisplayOptions: VideoActionsDisplayType = { | 65 | videoActionsDisplayOptions: VideoActionsDisplayType = { |
65 | playlist: true, | 66 | playlist: true, |
@@ -68,7 +69,8 @@ export class VideoMiniatureComponent implements OnInit { | |||
68 | blacklist: true, | 69 | blacklist: true, |
69 | delete: true, | 70 | delete: true, |
70 | report: true, | 71 | report: true, |
71 | duplicate: true | 72 | duplicate: true, |
73 | mute: true | ||
72 | } | 74 | } |
73 | showActions = false | 75 | showActions = false |
74 | serverConfig: ServerConfig | 76 | serverConfig: ServerConfig |
@@ -206,6 +208,10 @@ export class VideoMiniatureComponent implements OnInit { | |||
206 | this.videoRemoved.emit() | 208 | this.videoRemoved.emit() |
207 | } | 209 | } |
208 | 210 | ||
211 | onVideoAccountMuted () { | ||
212 | this.videoAccountMuted.emit() | ||
213 | } | ||
214 | |||
209 | isUserLoggedIn () { | 215 | isUserLoggedIn () { |
210 | return this.authService.isLoggedIn() | 216 | return this.authService.isLoggedIn() |
211 | } | 217 | } |