@credithub/harlan-components 1.58.1 → 1.58.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -62,7 +62,13 @@ var Liminar = function () {
62
62
  });
63
63
  var indiciosDeLiminar = false;
64
64
  if (ctx.type === RequestStatus.Error) {
65
- console.error('Erro na requisição de liminares:', ctx.error || 'Erro desconhecido');
65
+ if (ctx.error &&
66
+ String(ctx.error).includes('Processo(s) não encontrado(s).')) {
67
+ indiciosDeLiminar = false;
68
+ }
69
+ else {
70
+ console.error('Erro na requisição de liminares:', ctx.error || 'Erro desconhecido');
71
+ }
66
72
  }
67
73
  else if (ctx.type === RequestStatus.Success) {
68
74
  indiciosDeLiminar = ((_a = ctx.document) === null || _a === void 0 ? void 0 : _a.indiciosDeLiminar) === true;
@@ -16,7 +16,7 @@ var PartnerList = memo(function (_a) {
16
16
  React.createElement(PartnerField, { name: partner.cnpj ? 'Empresa' : ((_a = partner.cargo) !== null && _a !== void 0 ? _a : ''), value: partner.nome }),
17
17
  React.createElement(PartnerField, { name: partner.cnpj ? 'CNPJ' : 'CPF', value: (_b = (partner.cnpj || partner.cpf)) !== null && _b !== void 0 ? _b : '', onClick: function () { var _a, _b; return (_a = partner.onClickCpfCnpj) === null || _a === void 0 ? void 0 : _a.call(partner, (_b = (partner.cnpj || partner.cpf)) !== null && _b !== void 0 ? _b : ''); } }),
18
18
  React.createElement(PartnerField, { name: "Protestos", value: partner === null || partner === void 0 ? void 0 : partner.protestos }),
19
- React.createElement(PartnerField, { name: "Receita Status", value: partner.receitaStatus }),
19
+ React.createElement(PartnerField, { name: "Situa\u00E7\u00E3o na Receita Federal", value: partner.receitaStatus }),
20
20
  React.createElement(PartnerField, { name: "Dividas P\u00FAblicas", value: partner.dividasPublicas }),
21
21
  React.createElement("div", null, (partner.cpf || partner.cnpj) && (React.createElement(ButtonPartner, { onClick: function (e) {
22
22
  e.preventDefault();