simplified form works, too.

This commit is contained in:
Bryce Covert
2020-08-04 08:36:10 -07:00
parent c7fd0aafc0
commit f1dab06330
4 changed files with 60 additions and 59 deletions

View File

@@ -93,6 +93,7 @@
:body [:div "Are you sure you want to delete transaction rule '" (:description which) "'? Any previously transactions will remain updated, but the rule association will be lost."]
:cancel? true
:confirm {:value "Delete Transaction Rule"
:class "is-danger"
:status-from [::status/single ::delete-transaction-rule]
:on-click (dispatch-event [::delete-transaction-rule (:id which)] )}
:close-event [::status/completed ::delete-transaction-rule]}]}))