Disable repositories tab

This commit is contained in:
Oskar Thorén 2017-11-10 21:48:38 +00:00
parent eb8edec116
commit 1db018912b
2 changed files with 5 additions and 2 deletions

View File

@ -79,7 +79,9 @@
(let [tabs (apply conj [[:bounties (str (when-not @user "Open ") "Bounties")]
[:activity "Activity"]]
(when @user
[[:repos "Repositories"]
[
;; NOTE(oskarth) Disabling this as repo management happens through GH app
#_[:repos "Repositories"]
[:manage-payouts (str (when-not mobile? "Manage ") "Payouts")]
(when (:status-team-member? @user)
[:usage-metrics "Usage metrics"])]))]

View File

@ -106,7 +106,8 @@
(let [active-tab (:active-tab app-state)]
[:div.ui.attached.tabular.menu.tiny
(for [[tab caption] [[:activity "Activity"]
[:manage "Repositories"]
;; NOTE(oskarth) Disabling this as repo management happens through GH app
#_[:manage "Repositories"]
[:bounties "Bounties"]]]
(let [props {:class (str "ui item"
(when (= active-tab tab) " active"))