diff options
author | Morlinest <Morlinest@users.noreply.github.com> | 2017-09-13 18:02:37 +0200 |
---|---|---|
committer | Lauris BH <lauris@nix.lv> | 2017-09-13 19:02:37 +0300 |
commit | 35b473d8d30e3ebd36789b66f06c3e77c666cb94 (patch) | |
tree | b0aaca27c0ae7b167997047d4650f16654685cb3 /public | |
parent | 3e89e89670f3c3c4e4a63b178e38f5293e24736e (diff) | |
download | gitea-35b473d8d30e3ebd36789b66f06c3e77c666cb94.tar.gz gitea-35b473d8d30e3ebd36789b66f06c3e77c666cb94.zip |
Remove repository mirrors from "collaborative" list (#2497)
Diffstat (limited to 'public')
-rw-r--r-- | public/js/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/public/js/index.js b/public/js/index.js index 732beaca0c..dc2a09c9ed 100644 --- a/public/js/index.js +++ b/public/js/index.js @@ -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; } |