|
|
@ -1,5 +1,6 @@ |
|
|
|
// eslint-disable-next-line no-use-before-define
|
|
|
|
// eslint-disable-next-line no-use-before-define
|
|
|
|
import React from 'react' |
|
|
|
import React from 'react' |
|
|
|
|
|
|
|
import parse from 'html-react-parser'; |
|
|
|
|
|
|
|
|
|
|
|
interface SolScanTableProps { |
|
|
|
interface SolScanTableProps { |
|
|
|
scanDetails: Record<string, any>[] |
|
|
|
scanDetails: Record<string, any>[] |
|
|
@ -26,7 +27,7 @@ export function SolScanTable(props: SolScanTableProps) { |
|
|
|
<td scope="col">{template.template_details.issue_id}</td> |
|
|
|
<td scope="col">{template.template_details.issue_id}</td> |
|
|
|
<td scope="col">{template.template_details.issue_name}</td> |
|
|
|
<td scope="col">{template.template_details.issue_name}</td> |
|
|
|
<td scope="col">{template.template_details.issue_severity}</td> |
|
|
|
<td scope="col">{template.template_details.issue_severity}</td> |
|
|
|
<td scope="col">{template.template_details.static_issue_description}</td> |
|
|
|
<td scope="col">{parse(template.template_details.static_issue_description)}</td> |
|
|
|
</tr> |
|
|
|
</tr> |
|
|
|
) |
|
|
|
) |
|
|
|
}) |
|
|
|
}) |
|
|
|