action modal is gone.

This commit is contained in:
Bryce Covert
2020-08-22 09:29:12 -07:00
parent 86a117f739
commit dc57fd7d0c
10 changed files with 56 additions and 96 deletions

View File

@@ -11,6 +11,8 @@
(defn upsert-vendor [context {{:keys [id name hidden terms code print_as primary_contact secondary_contact address default_account_id invoice_reminder_schedule terms_overrides account_overrides] :as in} :vendor} value]
(when id
(assert-admin (:id context)))
#_(Thread/sleep 3000)
#_(throw (ex-info "" {:validation-error "can't do that."}))
(let [hidden (if (is-admin? (:id context))
hidden
false)