feat: Lint paragraphs except in test files & fix
Signed-off-by: Carlos Esteban Lopez <lcarlosesteb@vmware.com>
This commit is contained in:
committed by
Carlos Lopez
parent
8de0276086
commit
e75f39e603
@@ -126,12 +126,12 @@ const generatedColumns: TableColumn[] = [
|
||||
field: 'lastBuild.source.branchName',
|
||||
render: (row: Partial<Project>) => (
|
||||
<>
|
||||
<p>
|
||||
<Typography>
|
||||
<Link to={row.lastBuild?.source?.url ?? ''}>
|
||||
{row.lastBuild?.source?.branchName}
|
||||
</Link>
|
||||
</p>
|
||||
<p>{row.lastBuild?.source?.commit?.hash}</p>
|
||||
</Typography>
|
||||
<Typography>{row.lastBuild?.source?.commit?.hash}</Typography>
|
||||
</>
|
||||
),
|
||||
},
|
||||
@@ -152,7 +152,7 @@ const generatedColumns: TableColumn[] = [
|
||||
render: (row: Partial<Project>) => {
|
||||
return (
|
||||
<>
|
||||
<p>
|
||||
<Typography>
|
||||
{row.lastBuild?.tests && (
|
||||
<Link to={row.lastBuild?.tests.testUrl ?? ''}>
|
||||
{row.lastBuild?.tests.passed} / {row.lastBuild?.tests.total}{' '}
|
||||
@@ -165,7 +165,7 @@ const generatedColumns: TableColumn[] = [
|
||||
)}
|
||||
|
||||
{!row.lastBuild?.tests && 'n/a'}
|
||||
</p>
|
||||
</Typography>
|
||||
</>
|
||||
);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user