adding some safety checks to not continue matching indefinitely.

This commit is contained in:
Bryce Covert
2019-04-24 06:54:29 -07:00
parent b9b0147d7c
commit deef4eb4a4
3 changed files with 12 additions and 8 deletions

View File

@@ -214,7 +214,7 @@
[:td status]
[:td
(when (or (= :pending status)
(and (#{":cash" ":debit" :cash :debit} type)
(and (#{":cash" :cash } type)
(not= :voided status)))
[:button.button.is-warning.is-outlined {:on-click (dispatch-event [::void-check i])} [:span [:span.icon [:i.fa.fa-minus-circle]]]])
(if s3-url