@undp/carbon-library 1.0.274-CARBON-338.0 → 1.0.274-CARBON-338.1

Sign up to get free protection for your applications and to get access to all the features.
package/dist/cjs/index.js CHANGED
@@ -27879,10 +27879,12 @@ var ProgrammeTransferForm = function (props) {
27879
27879
  label: d.name,
27880
27880
  value: d.companyId,
27881
27881
  state: d.state,
27882
+ companyRole: d.companyRole,
27882
27883
  }); })
27883
27884
  .filter(function (d) {
27884
27885
  return (d.value !== userCompanyId &&
27885
- parseInt(d.state) === exports.CompanyState.ACTIVE.valueOf());
27886
+ parseInt(d.state) === exports.CompanyState.ACTIVE.valueOf() &&
27887
+ d.companyRole === exports.CompanyRole.PROGRAMME_DEVELOPER.valueOf());
27886
27888
  }));
27887
27889
  return [3 /*break*/, 3];
27888
27890
  case 2: