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': case 'mirrors':
return repo.mirror; return repo.mirror;
case 'collaborative': case 'collaborative':
return repo.owner.id != this.uid; return repo.owner.id != this.uid && !repo.mirror;
default: default:
return true; return true;
} }