mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2024-08-17 09:20:26 +03: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