From 79f7750f73aa0cce88f6c65b114e860f83392e76 Mon Sep 17 00:00:00 2001 From: Josha von Gizycki Date: Mon, 14 Jan 2019 12:19:00 +0100 Subject: [PATCH] ci --- project.clj | 2 +- src/wanijo/instance/view.clj | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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