Tienson Qin 2 месяцев назад
Родитель
Сommit
f43459f55e
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/main/frontend/components/repo.cljs

+ 1 - 1
src/main/frontend/components/repo.cljs

@@ -304,7 +304,7 @@
    (when-not config/publishing?
      (shui/button {:size :sm :variant :ghost
                    :on-click (fn []
-                               (if (util/mobile?)
+                               (if (util/capacitor?)
                                  (state/pub-event! [:mobile/set-tab "graphs"])
                                  (route-handler/redirect-to-all-graphs)))}
                   (shui/tabler-icon "layout-2") [:span (t :all-graphs)]))])