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