Skip to content

Commit 9d0c948

Browse files
committed
Updated threats column on dashboard
1 parent cf7380a commit 9d0c948

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

frontend/src/components/threats.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,9 @@ const Threat = (props) => {
6767
<TableCell
6868
style={{ fontWeight: 'bold', backgroundColor: 'lavender' }}>Contribution
6969
</TableCell>
70-
<TableCell
70+
{/* <TableCell
7171
style={{ fontWeight: 'bold', backgroundColor: 'lavender' }}>Threats
72-
</TableCell>
72+
</TableCell> */}
7373
</TableRow>
7474
</TableHead>
7575
<TableBody>
@@ -83,7 +83,7 @@ const Threat = (props) => {
8383
{row.asset}
8484
</TableCell>
8585
<TableCell >{row?.contribution ? row?.contribution : 0}</TableCell>
86-
<TableCell >{row?.threats?.length !=0 ?
86+
{/* <TableCell >{row?.threats?.length !=0 ?
8787
Object.keys(row?.threats[0]).map((key,index)=> (
8888
<React.Fragment key={index} >
8989
<ul style={{padding : "0px 0px 0px 13px"}}>
@@ -92,7 +92,7 @@ const Threat = (props) => {
9292
</li>
9393
</ul>
9494
</React.Fragment>
95-
)): "No threats Found"}</TableCell>
95+
)): "No threats Found"}</TableCell> */}
9696
</TableRow>
9797
))}
9898
</TableBody>

0 commit comments

Comments
 (0)