소스 검색

fix: use the correct variable in (seq coll)

Signed-off-by: Yue Yang <[email protected]>
Yue Yang 3 년 전
부모
커밋
e16297132f
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/main/frontend/components/repo.cljs

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

@@ -257,7 +257,7 @@
                            :options {:on-click ui-handler/open-new-window!}})]
     (->>
      (concat repo-links
-             [(when (seq repos) {:hr true})
+             [(when (seq repo-links) {:hr true})
               {:title (t :new-graph) :options {:href (rfe/href :repo-add)}}
               {:title (t :all-graphs) :options {:href (rfe/href :repos)}}
               refresh-link