@undp/carbon-library 1.0.289-CARBON-178.1 → 1.0.289-CARBON-167.1

Sign up to get free protection for your applications and to get access to all the features.
package/dist/cjs/index.js CHANGED
@@ -655,7 +655,7 @@ var CompanyManagementComponent = function (props) {
655
655
  {
656
656
  key: searchByTermOrganisation,
657
657
  operation: "like",
658
- value: "%" + networksearchOrganisations + "%",
658
+ value: networksearchOrganisations + "%",
659
659
  },
660
660
  ];
661
661
  }
@@ -672,7 +672,7 @@ var CompanyManagementComponent = function (props) {
672
672
  {
673
673
  key: searchByTermOrganisation,
674
674
  operation: "like",
675
- value: "%" + networksearchOrganisations + "%",
675
+ value: networksearchOrganisations + "%",
676
676
  },
677
677
  {
678
678
  key: "companyRole",
@@ -7344,7 +7344,7 @@ var ProgrammeManagementComponent = function (props) {
7344
7344
  filter.push({
7345
7345
  key: "title",
7346
7346
  operation: "like",
7347
- value: "%".concat(search, "%"),
7347
+ value: "".concat(search, "%"),
7348
7348
  });
7349
7349
  }
7350
7350
  if (ministryLevelFilter) {
@@ -15164,7 +15164,7 @@ var UserManagementComponent = function (props) {
15164
15164
  {
15165
15165
  key: searchByTermUser,
15166
15166
  operation: "like",
15167
- value: "%" + networksearchUsers + "%",
15167
+ value: networksearchUsers + "%",
15168
15168
  },
15169
15169
  ];
15170
15170
  }
@@ -15182,7 +15182,7 @@ var UserManagementComponent = function (props) {
15182
15182
  {
15183
15183
  key: searchByTermUser,
15184
15184
  operation: "like",
15185
- value: "%" + networksearchUsers + "%",
15185
+ value: networksearchUsers + "%",
15186
15186
  },
15187
15187
  {
15188
15188
  key: "role",
@@ -15205,7 +15205,7 @@ var UserManagementComponent = function (props) {
15205
15205
  {
15206
15206
  key: searchByTermUser,
15207
15207
  operation: "like",
15208
- value: "%" + networksearchUsers + "%",
15208
+ value: networksearchUsers + "%",
15209
15209
  },
15210
15210
  {
15211
15211
  key: "role",
@@ -15223,7 +15223,7 @@ var UserManagementComponent = function (props) {
15223
15223
  {
15224
15224
  key: searchByTermUser,
15225
15225
  operation: "like",
15226
- value: "%" + networksearchUsers + "%",
15226
+ value: networksearchUsers + "%",
15227
15227
  },
15228
15228
  {
15229
15229
  key: "companyRole",
@@ -16456,7 +16456,7 @@ var InvestmentManagementComponent = function (props) {
16456
16456
  {
16457
16457
  key: "programmeTitle",
16458
16458
  operation: "like",
16459
- value: "%".concat(search, "%"),
16459
+ value: "".concat(search, "%"),
16460
16460
  },
16461
16461
  ];
16462
16462
  if (!isNaN(Number(search))) {
@@ -17401,7 +17401,7 @@ var SupportManagementComponent = function (props) {
17401
17401
  {
17402
17402
  key: "programmeTitle",
17403
17403
  operation: "like",
17404
- value: "%".concat(search, "%"),
17404
+ value: "".concat(search, "%"),
17405
17405
  },
17406
17406
  ];
17407
17407
  if (!isNaN(Number(search))) {
@@ -17986,14 +17986,14 @@ var NdcActionManagementComponent = function (props) {
17986
17986
  {
17987
17987
  key: "programmeName",
17988
17988
  operation: "like",
17989
- value: "%".concat(search, "%"),
17989
+ value: "".concat(search, "%"),
17990
17990
  },
17991
17991
  ];
17992
17992
  if (!isNaN(Number(search))) {
17993
17993
  interFilterOr.push({
17994
17994
  key: "id",
17995
17995
  operation: "like",
17996
- value: "%".concat(search, "%"),
17996
+ value: "".concat(search),
17997
17997
  });
17998
17998
  }
17999
17999
  filter.push({
@@ -22906,7 +22906,7 @@ var CreditTransferComponent = function (props) {
22906
22906
  {
22907
22907
  key: "programmeTitle",
22908
22908
  operation: "like",
22909
- value: "%".concat(search, "%"),
22909
+ value: "".concat(search, "%"),
22910
22910
  },
22911
22911
  ];
22912
22912
  if (!isNaN(Number(search))) {
@@ -23224,7 +23224,7 @@ var CreditTransferComponent = function (props) {
23224
23224
  icon: React.createElement(Icon__namespace.XOctagon, null),
23225
23225
  actionBtnText: t("creditTransfer:notrecognise"),
23226
23226
  okAction: function (requestId, comment) {
23227
- return handleRequestOk(requestId, comment, "transferReject", "".concat(t("creditTransfer:internationalTranferReqAccepted")));
23227
+ return handleRequestOk(requestId, comment, "transferReject", "".concat(t("creditTransfer:internationalTransferReqRejected")));
23228
23228
  },
23229
23229
  type: "danger",
23230
23230
  remarkRequired: true,
@@ -28414,7 +28414,7 @@ var ProgrammeRetireForm = function (props) {
28414
28414
  {
28415
28415
  key: "name",
28416
28416
  operation: "like",
28417
- value: "%" + newValue.charAt(0).toUpperCase() + newValue.slice(1) + "%",
28417
+ value: newValue.charAt(0).toUpperCase() + newValue.slice(1) + "%",
28418
28418
  },
28419
28419
  ],
28420
28420
  sort: {
@@ -28746,7 +28746,7 @@ var ProgrammeTransferForm = function (props) {
28746
28746
  {
28747
28747
  key: "name",
28748
28748
  operation: "like",
28749
- value: "%" + newValue + "%",
28749
+ value: newValue + "%",
28750
28750
  },
28751
28751
  {
28752
28752
  key: "companyRole",