Skip to content

Commit

Permalink
Refactor DataGrid component to include isVisibleToRole102 prop - Events
Browse files Browse the repository at this point in the history
  • Loading branch information
AkshatGupta15 committed Oct 11, 2024
1 parent a8dead0 commit 3cdfb2c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion pages/admin/rc/[rcid]/event/[eventId]/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,12 @@ function Event() {
/>
</Modal>
</Stack>
<DataGrid columns={cols} getRowId={(row) => row.ID} rows={students} />
<DataGrid
columns={cols}
getRowId={(row) => row.ID}
rows={students}
isVisibleToRole102
/>
<Modal open={openNew} onClose={handleCloseNew}>
<EnrollToEvent
handleClose={handleCloseNew}
Expand Down

0 comments on commit 3cdfb2c

Please sign in to comment.