Deploy Inicial do SteelCheck com Docker Build Automatizado
This commit is contained in:
@@ -27,7 +27,11 @@ const TableRow: React.FC<{item: ComplianceItem}> = ({item}) => (
|
||||
)
|
||||
|
||||
export const PrintableReport: React.FC<PrintableReportProps> = ({ report }) => {
|
||||
const { identification, compliance, overPerformance, equivalents, confidence } = report;
|
||||
const identification = report?.identification || {};
|
||||
const compliance = report?.compliance || { status: 'NÃO CONFORME', mechanical: [], chemical: [], otherTests: [] };
|
||||
const overPerformance = report?.overPerformance || [];
|
||||
const equivalents = report?.equivalents || [];
|
||||
const confidence = report?.confidence || 0;
|
||||
const jsonData = JSON.stringify(report);
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user