summaryrefslogtreecommitdiffstats
path: root/public
diff options
context:
space:
mode:
authorMorlinest <Morlinest@users.noreply.github.com>2017-09-13 18:02:37 +0200
committerLauris BH <lauris@nix.lv>2017-09-13 19:02:37 +0300
commit35b473d8d30e3ebd36789b66f06c3e77c666cb94 (patch)
treeb0aaca27c0ae7b167997047d4650f16654685cb3 /public
parent3e89e89670f3c3c4e4a63b178e38f5293e24736e (diff)
downloadgitea-35b473d8d30e3ebd36789b66f06c3e77c666cb94.tar.gz
gitea-35b473d8d30e3ebd36789b66f06c3e77c666cb94.zip
Remove repository mirrors from "collaborative" list (#2497)
Diffstat (limited to 'public')
-rw-r--r--public/js/index.js2
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;
}