mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2024-09-11 13:37:10 +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 () {
|
isVideoStatsAvailable () {
|
||||||
return this.video.isOwnerOrHasSeeAllVideosRight(this.user)
|
return this.video.isLocal && this.video.isOwnerOrHasSeeAllVideosRight(this.user)
|
||||||
}
|
}
|
||||||
|
|
||||||
isVideoRemovable () {
|
isVideoRemovable () {
|
||||||
|
Loading…
Reference in New Issue
Block a user