diff --git a/src/cljs/auto_ap/views/pages/ledger/external_import.cljs b/src/cljs/auto_ap/views/pages/ledger/external_import.cljs index 7271bf5c..aabf4ca5 100644 --- a/src/cljs/auto_ap/views/pages/ledger/external_import.cljs +++ b/src/cljs/auto_ap/views/pages/ledger/external_import.cljs @@ -49,7 +49,7 @@ (map #(if (js/isNaN %) 0 %)))) :line-items (map (fn [{:keys [debit credit account-identifier location]}] {:account-identifier account-identifier - :location location + :location (some-> location str/trim) :debit debit :credit credit}) lines)}))))