1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-04 08:17:24 -05:00

Remove repository mirrors from "collaborative" list (#2497)

This commit is contained in:
Morlinest 2017-09-13 18:02:37 +02:00 committed by Lauris BH
parent 3e89e89670
commit 35b473d8d3

View File

@ -1768,7 +1768,7 @@ function initVueComponents(){
case 'mirrors':
return repo.mirror;
case 'collaborative':
return repo.owner.id != this.uid;
return repo.owner.id != this.uid && !repo.mirror;
default:
return true;
}