make it possible to revert yodlee account id.

This commit is contained in:
Bryce Covert
2020-12-15 08:39:51 -08:00
parent d7e99205fc
commit c2407a73c6
3 changed files with 72 additions and 52 deletions

View File

@@ -8,7 +8,8 @@
[cljs-time.coerce :as coerce]
[cljs-time.core :as t]
[clojure.spec.alpha :as s]
[re-frame.core :as re-frame]))
[re-frame.core :as re-frame]
[clojure.string :as str]))
(re-frame/reg-sub
::can-submit
@@ -63,7 +64,7 @@
:sort-order sort-order
:visible visible
:locations (mapv :location locations)
:yodlee-account-id (when yodlee-account-id
:yodlee-account-id (when-not (str/blank? yodlee-account-id)
(js/parseInt yodlee-account-id))
:code (if new?
(str (:code new-client-data) "-" code)