diff --git a/src/wanijo/instance/view.clj b/src/wanijo/instance/view.clj index 0633f57..4b3b043 100644 --- a/src/wanijo/instance/view.clj +++ b/src/wanijo/instance/view.clj @@ -71,9 +71,12 @@ [:th "Schema"] [:th "Created"]]] [:tbody - (for [{:keys [link target schema]} (:links-out instance)] + (for [{:keys [link target schema]} (:links-out instance) + :let [name (:name link) + empty (empty? name) + name (if empty [:i "empty"] (h name))]] [:tr - [:td (h (:name link))] + [:td name] [:td (h (:name target))] [:td (h (:name schema))] [:td (prettify-dt (:created_at link))]])]]])]))