fixed excel import

This commit is contained in:
2022-07-23 09:45:13 -07:00
parent 30f3909ee9
commit 03b5846d82
3 changed files with 141 additions and 169 deletions

View File

@@ -270,8 +270,18 @@
(not can-submit))}]])))
(defn error-notification []
(consume Consumer ["error"]
(fn [error]
(when error
(consume Consumer ["error" "status"]
(fn [error status]
(println status)
(cond error
^{:key error}
[:div.has-text-danger.animated.fadeInUp {} error]))))
[:div.has-text-danger.animated.fadeInUp {} error]
(-> status :error first :message)
[:div.has-text-danger.animated.fadeInUp {} (-> status :error first :message)]
(-> status :error)
[:div.has-text-danger.animated.fadeInUp {} (-> status :error str)]
:else
nil))))