浏览代码

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