enforce locked until for payments

This commit is contained in:
Bryce Covert
2022-03-14 10:43:38 -07:00
parent ab4a426369
commit ee6669253f
4 changed files with 42 additions and 12 deletions

View File

@@ -55,8 +55,9 @@
(re-frame/reg-event-fx
::unmounted
(fn [_ _]
(fn [{:keys [db]} _]
{:dispatch [::data-page/dispose ::page]
:db (-> db (status/reset-multi ::table/void))
::track/dispose {:id ::params}
::forward/dispose {:id ::page}}))
@@ -148,6 +149,7 @@
[:div
[:h1.title "Payments"]
[action-buttons]
[status/status-notification {:statuses [[::status/last-multi ::table/void]]}]
[table/table {:id :payments
:data-page ::page}]])