瀏覽代碼

fix: full search result should not be only displayed on electron app

situ2001 3 年之前
父節點
當前提交
df7e32a3bb
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/frontend/components/search.cljs

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

@@ -378,7 +378,7 @@
        :on-shift-chosen #(search-on-shift-chosen repo search-q %)
        :on-shift-chosen #(search-on-shift-chosen repo search-q %)
        :item-render #(search-item-render search-q %)
        :item-render #(search-item-render search-q %)
        :on-chosen-open-link #(search-on-chosen-open-link repo search-q %)})
        :on-chosen-open-link #(search-on-chosen-open-link repo search-q %)})
-     (when (and has-more? (util/electron?) (not all?))
+     (when (and has-more? (not all?))
        [:div.px-2.py-4.search-more
        [:div.px-2.py-4.search-more
         [:a.text-sm.font-medium {:href (rfe/href :search {:q search-q})
         [:a.text-sm.font-medium {:href (rfe/href :search {:q search-q})
                                  :on-click (fn []
                                  :on-click (fn []