@undp/carbon-library 1.0.292-CARBON-368.0 → 1.0.292-CARBON-428.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/package.json +1 -1
package/dist/cjs/index.js
CHANGED
@@ -16039,7 +16039,7 @@ var InvestmentCreationComponent = function (props) {
|
|
16039
16039
|
.startOf("day")
|
16040
16040
|
.unix();
|
16041
16041
|
}
|
16042
|
-
payload.instrument = [payload.instrument];
|
16042
|
+
payload.instrument = Array.isArray(payload.instrument) ? payload.instrument : [payload.instrument];
|
16043
16043
|
payload.fromCompanyIds = data.companyId.map(function (e) { return Number(e); });
|
16044
16044
|
payload.percentage = val.percentage;
|
16045
16045
|
payload.toCompanyId = Number(payload.toCompanyId);
|