@undp/carbon-library 1.0.284-CARBON-406.1 → 1.0.284-CARBON-406.3

Sign up to get free protection for your applications and to get access to all the features.
package/dist/cjs/index.js CHANGED
@@ -26937,6 +26937,7 @@ var NdcDetailsComponent = function (props) {
26937
26937
  actionType: NdcDetailsActionType.SubAction,
26938
26938
  nationalPlanObjective: "",
26939
26939
  kpi: "",
26940
+ kpiUnit: "",
26940
26941
  ministryName: loginMinistry,
26941
26942
  status: NdcDetailsActionStatus.New,
26942
26943
  parentActionId: mainActionId,
@@ -26948,6 +26949,7 @@ var NdcDetailsComponent = function (props) {
26948
26949
  form.setFieldsValue({
26949
26950
  nationalPlanObjective: "",
26950
26951
  kpi: "",
26952
+ kpiUnit: "",
26951
26953
  });
26952
26954
  }
26953
26955
  setSubNdcActionsForPeriod(subNdcDetails);
@@ -26988,7 +26990,8 @@ var NdcDetailsComponent = function (props) {
26988
26990
  ClearEditMode();
26989
26991
  return [2 /*return*/];
26990
26992
  }
26991
- else if (updatedFields.kpi === row.kpi && updatedFields.kpiUnit === row.kpiUnit &&
26993
+ else if (updatedFields.kpi === row.kpi &&
26994
+ updatedFields.kpiUnit === row.kpiUnit &&
26992
26995
  updatedFields.nationalPlanObjective === row.nationalPlanObjective) {
26993
26996
  ClearEditMode();
26994
26997
  return [2 /*return*/];
@@ -27166,6 +27169,7 @@ var NdcDetailsComponent = function (props) {
27166
27169
  form.setFieldsValue({
27167
27170
  nationalPlanObjective: "",
27168
27171
  kpi: "",
27172
+ kpiUnit: "",
27169
27173
  });
27170
27174
  periodId = parseInt(selectedPeriod.key);
27171
27175
  newData_1 = {