Skip to content

Commit

Permalink
feat: show the violation flag
Browse files Browse the repository at this point in the history
  • Loading branch information
akakou committed Oct 11, 2024
1 parent 9c275bc commit 025a8cd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions verifier/serv/static/js/ui/table.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@ const TableCompornent = ({ logs }) => {

const rows = logs.map((server, index) =>
<tr key={index}>
<td>
{index + 1}
</td>
<td>{server.id}</td>
<td>{server.domain}</td>
<td>{server.edges.code.unique_id}</td>
<td>
Expand All @@ -17,6 +15,7 @@ const TableCompornent = ({ logs }) => {
<a href={gitRepo(server)}>{gitRepo(server)}</a>
</td>
<td>{(!!server.is_active).toString()}</td>
<td>{(server.edges.violation.length == 0).toString()}</td>
</tr>
);

Expand All @@ -30,11 +29,12 @@ const TableCompornent = ({ logs }) => {
<th>crt.sh ID</th>
<th>Git Repository</th>
<th>Activated</th>
<th>Violated</th>
</tr>
</thead>
<tbody>
{rows}
</tbody>
</table>
)
}
}

0 comments on commit 025a8cd

Please sign in to comment.