braid-ui 1.0.59 → 1.0.60
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -14797,7 +14797,7 @@ function NewTransaction() {
|
|
|
14797
14797
|
const isReviewReady = React15.useMemo(() => {
|
|
14798
14798
|
const data = form.watch();
|
|
14799
14799
|
const requiresCounterparty = ["ach", "wire"].includes(data.transactionType);
|
|
14800
|
-
if (!data.transactionType || !data.accountNumber || !data.amount) return false;
|
|
14800
|
+
if (!data.transactionType || !data.accountNumber || !data.amount || !data.description) return false;
|
|
14801
14801
|
if (requiresCounterparty && (!data.counterpartyName || !counterpartyLookedUp)) return false;
|
|
14802
14802
|
if (!accountLookedUp) return false;
|
|
14803
14803
|
if (data.transactionType === "adjustment") {
|