pagination and sorting for reminders.

This commit is contained in:
Bryce Covert
2018-04-13 22:03:02 -07:00
parent 5e14ecd005
commit b6b7b1932a
8 changed files with 204 additions and 121 deletions

View File

@@ -18,8 +18,9 @@
(defn dispatch-event [event]
(fn [e]
(.stopPropagation e)
(.preventDefault e)
(when (.-stopPropagation e)
(.stopPropagation e)
(.preventDefault e))
(re-frame/dispatch event)))
(def pretty-long (format/formatter "MM/dd/yyyy HH:mm:ss"))
@@ -33,8 +34,6 @@
(when d
(format/unparse pretty-long d)))
(defmulti do-bind (fn [_ {:keys [type]}]
type))