implementing sorting for checks.

This commit is contained in:
Bryce Covert
2019-05-04 12:25:55 -07:00
parent f8d8872131
commit 976d37d641
5 changed files with 120 additions and 86 deletions

View File

@@ -167,9 +167,9 @@
:create)]
{:graphql
{:token user
:query-obj @(re-frame/subscribe (if (:id data)
@(re-frame/subscribe [::edit-query])
@(re-frame/subscribe [::create-query])))
:query-obj (if (:id data)
@(re-frame/subscribe [::edit-query])
@(re-frame/subscribe [::create-query]))
:on-success [::succeeded params command]
:on-error [::forms/save-error ::form]}})))

View File

@@ -114,6 +114,7 @@
(defn potential-payment-matches-box [{:keys [potential-payment-matches] :as params}]
(println potential-payment-matches)
[:div.box
[:div.columns
[:div.column
@@ -154,7 +155,7 @@
(if (and (seq (:potential-payment-matches data))
(not (:payment data)))
[potential-payment-matches-box {:matches (:potential-payment-matches data)
[potential-payment-matches-box {:potential-payment-matches (:potential-payment-matches data)
:edit-completed edit-completed}]
[:div