Skip to content
Snippets Groups Projects
Commit e0cc0a7a authored by Allen Gilliland's avatar Allen Gilliland
Browse files

filter out views of items that don't hydrate properly (likely because they were deleted)

parent 7919ddd1
Branches
Tags
No related merge requests found
......@@ -37,6 +37,7 @@
"dashboard" (-> (Dashboard (:model_id %))
(select-keys [:id :name :description]))
nil)))))
(hydrate :model_object)))
(hydrate :model_object)
(->> (filter (fn [v] (not (empty? (:model_object v))))))))
(define-routes)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment