Skip to content

Commit 4b7e680

Browse files
committed
Finished my presentation of slides
1 parent 705c326 commit 4b7e680

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
0 Bytes
Binary file not shown.

6months/project_2/hipaa_checklist_project/frontend/src/components/ComplianceReport.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const riskColors = [
1313
['#ffebee', '#ffcdd2', '#ef9a9a', '#e57373', '#ef5350'], // Critical
1414
];
1515

16-
function RiskMatrix({ risks }) {
16+
function RiskMatrix({ risks, isAdmin }) {
1717
const grid = Array.from({ length: RISK_MATRIX_SIZE }, () =>
1818
Array.from({ length: RISK_MATRIX_SIZE }, () => [])
1919
);
@@ -230,7 +230,7 @@ export default function ComplianceReport() {
230230
</Box>
231231
</CardContent>
232232
</Card>
233-
<RiskMatrix risks={filteredRisks} />
233+
<RiskMatrix risks={filteredRisks} isAdmin={isAdmin} />
234234
<Box sx={{ mt: 4 }}>
235235
<Typography variant="h6" gutterBottom>Risks Table</Typography>
236236
<TableContainer component={Paper}>

0 commit comments

Comments
 (0)