Skip to content
Snippets Groups Projects
Commit 9281bdb9 authored by Cam Saul's avatar Cam Saul
Browse files

code fix

parent 1db85781
Branches
Tags
No related merge requests found
......@@ -26,8 +26,9 @@
(-> (sel :many Table :active true :db_id [in db-ids] (order :name :ASC))
(hydrate :db)
;; if for some reason a Table doesn't have rows set then set it to 0 so UI doesn't barf
(#(map #(cond-> %
(not (:rows %)) (assoc :rows 0))
(#(map (fn [table]
(cond-> table
(not (:rows table)) (assoc :rows 0)))
%)))))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment