diff --git a/src/wanijo/instance/view.clj b/src/wanijo/instance/view.clj index eacd60c..f55c312 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 (seq? (:links-out instance)) + (when-not (empty? (: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 (seq? (:links-out instance)) + (when-not (empty? (:links-out instance)) [:section.links [:h2 "Outgoing Links"] [:table