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

tokarchuk/v1.17
Morlinest 7 years ago committed by Lauris BH
parent 3e89e89670
commit 35b473d8d3
  1. 2
      public/js/index.js

@ -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;
} }

Loading…
Cancel
Save