diff options
Diffstat (limited to 'client/src/app')
-rw-r--r-- | client/src/app/shared/shared-video-miniature/video-actions-dropdown.component.ts | 4 |
1 files changed, 2 insertions, 2 deletions
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 18b4a2f3c..321f7b09f 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 | |||
@@ -93,7 +93,7 @@ export class VideoActionsDropdownComponent implements OnChanges { | |||
93 | ngOnChanges () { | 93 | ngOnChanges () { |
94 | if (this.loaded) { | 94 | if (this.loaded) { |
95 | this.loaded = false | 95 | this.loaded = false |
96 | this.playlistAdd.reload() | 96 | if (this.playlistAdd) this.playlistAdd.reload() |
97 | } | 97 | } |
98 | 98 | ||
99 | this.buildActions() | 99 | this.buildActions() |
@@ -277,7 +277,7 @@ export class VideoActionsDropdownComponent implements OnChanges { | |||
277 | { | 277 | { |
278 | label: $localize`Display live information`, | 278 | label: $localize`Display live information`, |
279 | handler: ({ video }) => this.showLiveInfoModal(video), | 279 | handler: ({ video }) => this.showLiveInfoModal(video), |
280 | isDisplayed: () => this.isVideoLiveInfoAvailable(), | 280 | isDisplayed: () => this.displayOptions.liveInfo && this.isVideoLiveInfoAvailable(), |
281 | iconName: 'live' | 281 | iconName: 'live' |
282 | }, | 282 | }, |
283 | { | 283 | { |