Don't display stats button of remote videos

This commit is contained in:
Chocobozzz 2024-05-29 08:46:27 +02:00
parent e2c354878f
commit 605f5328c1
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 1 additions and 1 deletions

View File

@ -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 () {