From dd1cfe068d6816147128d75f916614dfb4f9ace5 Mon Sep 17 00:00:00 2001 From: Josha von Gizycki Date: Wed, 16 Jan 2019 16:11:07 +0100 Subject: [PATCH] reverse ci stuff --- src/wanijo/instance/view.clj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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