ソースを参照

fix(regression): publishing app shows repo switcher

There's nowhere to switch to in publishing. Also shows menu options
which can cause errors in published file graphs
Gabriel Horner 5 ヶ月 前
コミット
adbac92f4a
1 ファイル変更2 行追加1 行削除
  1. 2 1
      src/main/frontend/components/container.cljs

+ 2 - 1
src/main/frontend/components/container.cljs

@@ -466,7 +466,8 @@
       [:div.wrap
        [:div.sidebar-header-container
         ;; sidebar graphs
-        (sidebar-graphs)
+        (when (not config/publishing?)
+         (sidebar-graphs))
 
         ;; sidebar sticky navigations
         (sidebar-navigations