From 1db018912b6c6fa690e6a2a5765945ae27f39956 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oskar=20Thor=C3=A9n?= Date: Fri, 10 Nov 2017 21:48:38 +0000 Subject: [PATCH] Disable repositories tab --- src/cljs/commiteth/core.cljs | 4 +++- test/cljs/commiteth/cards.cljs | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/cljs/commiteth/core.cljs b/src/cljs/commiteth/core.cljs index 80eb9ee..8a90933 100644 --- a/src/cljs/commiteth/core.cljs +++ b/src/cljs/commiteth/core.cljs @@ -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"])]))] diff --git a/test/cljs/commiteth/cards.cljs b/test/cljs/commiteth/cards.cljs index a22ebe8..fa240c5 100644 --- a/test/cljs/commiteth/cards.cljs +++ b/test/cljs/commiteth/cards.cljs @@ -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"))