mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-02-25 18:55:32 -06:00
Don't display stats button of remote videos
This commit is contained in:
parent
e2c354878f
commit
605f5328c1
@ -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 () {
|
||||
|
Loading…
Reference in New Issue
Block a user