From 605f5328c1c3c4626ad6b17e2d5533103965cd19 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 29 May 2024 08:46:27 +0200 Subject: [PATCH] Don't display stats button of remote videos --- .../shared-video-miniature/video-actions-dropdown.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 b46a8d4ac..f06c2da57 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 @@ -187,7 +187,7 @@ export class VideoActionsDropdownComponent implements OnChanges { } isVideoStatsAvailable () { - return this.video.isOwnerOrHasSeeAllVideosRight(this.user) + return this.video.isLocal && this.video.isOwnerOrHasSeeAllVideosRight(this.user) } isVideoRemovable () {