adding some safety checks to not continue matching indefinitely.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user