Fix in Loan Product edition (#1905)
Co-authored-by: Jose Alberto Hernandez <alberto@blue-daemon.local>
This commit is contained in:
co-authored by
Jose Alberto Hernandez
parent
f6edab0dd5
commit
df8c90d9e6
@@ -10,10 +10,10 @@ export class PrettyPrintPipe implements PipeTransform {
|
||||
if (value.charAt(0) === '{' && value.charAt(value.length - 1) === '}') {
|
||||
try {
|
||||
return vkbeautify.json(value);
|
||||
} catch(error) {
|
||||
} catch (error) {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
return value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user