@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/esm/index.js CHANGED
@@ -16018,7 +16018,7 @@ var InvestmentCreationComponent = function (props) {
16018
16018
  .startOf("day")
16019
16019
  .unix();
16020
16020
  }
16021
- payload.instrument = [payload.instrument];
16021
+ payload.instrument = Array.isArray(payload.instrument) ? payload.instrument : [payload.instrument];
16022
16022
  payload.fromCompanyIds = data.companyId.map(function (e) { return Number(e); });
16023
16023
  payload.percentage = val.percentage;
16024
16024
  payload.toCompanyId = Number(payload.toCompanyId);