diff --git a/project.clj b/project.clj index cf33ed4..1c287f6 100644 --- a/project.clj +++ b/project.clj @@ -18,7 +18,7 @@ :exclusions [commons-codec]] [clj-time "0.15.1"] - [markdown-clj "1.0.5"]] + [markdown-clj "1.0.6"]] :profiles {:dev {:dependencies [[javax.servlet/servlet-api "2.5"] [ring/ring-mock "0.3.2"]] diff --git a/src/wanijo/instance/view.clj b/src/wanijo/instance/view.clj index f55c312..eacd60c 100644 --- a/src/wanijo/instance/view.clj +++ b/src/wanijo/instance/view.clj @@ -61,7 +61,7 @@ [:div {:class (str "instance-content " "attr-type-" type)} (render-fn (:value prop))])) - (when-not (empty? (:links-out instance)) + (when (seq? (:links-out instance)) [:section.links [:h2 "Outgoing Links"] [:table @@ -94,7 +94,7 @@ (hform/form-to [:delete (path :instance-delete instance)] (anti-forgery-field) (view/delete-btn)) - (when-not (empty? (:links-out instance)) + (when (seq? (:links-out instance)) [:section.links [:h2 "Outgoing Links"] [:table