@credithub/harlan-components 1.95.0 → 1.95.2
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.
|
@@ -150,7 +150,7 @@ var Liminar = function (_a) {
|
|
|
150
150
|
tiposDocumento.forEach(function (t) {
|
|
151
151
|
var m = {
|
|
152
152
|
cenprot: 'Liminar no Cenprot',
|
|
153
|
-
serasa: '
|
|
153
|
+
serasa: 'Inconsistência no Serasa',
|
|
154
154
|
judicial: 'Liminar no Judiciário'
|
|
155
155
|
};
|
|
156
156
|
if (m[t])
|
|
@@ -240,6 +240,10 @@ export var Instrumento = function (_a) {
|
|
|
240
240
|
switch (_a.label) {
|
|
241
241
|
case 0:
|
|
242
242
|
setIsLoading(true);
|
|
243
|
+
if (/^35/.test(nm_chave)) {
|
|
244
|
+
openFormThenRedirect(nm_chave, cpfCnpj);
|
|
245
|
+
return [2 /*return*/];
|
|
246
|
+
}
|
|
243
247
|
_a.label = 1;
|
|
244
248
|
case 1:
|
|
245
249
|
_a.trys.push([1, 4, 5, 6]);
|
|
@@ -257,10 +261,6 @@ export var Instrumento = function (_a) {
|
|
|
257
261
|
return [3 /*break*/, 6];
|
|
258
262
|
case 4:
|
|
259
263
|
e_1 = _a.sent();
|
|
260
|
-
if (/^35/.test(nm_chave)) {
|
|
261
|
-
openFormThenRedirect(nm_chave, cpfCnpj);
|
|
262
|
-
return [2 /*return*/];
|
|
263
|
-
}
|
|
264
264
|
console.error(e_1);
|
|
265
265
|
setError(true);
|
|
266
266
|
return [3 /*break*/, 6];
|