mirror of
https://github.com/gnmyt/LicenseAPI.git
synced 2026-01-10 10:11:47 +00:00
Fix bug in GroupPermissionDialog.jsx
This commit is contained in:
@ -71,7 +71,7 @@ export const GroupPermissionDialog = ({group, onClose, fetchGroups}) => {
|
||||
return (
|
||||
<Dialog open={group !== null} onClose={closeDialog}>
|
||||
<DialogTitle>Update permissions</DialogTitle>
|
||||
<DialogContent sx={{maxWidth: 350, maxHeight: 500, overflowY: 'auto'}}>
|
||||
<DialogContent sx={{maxHeight: 500, overflowY: 'auto'}}>
|
||||
{permissions.map(({permission}, index) => (
|
||||
<Stack key={index} direction="row" gap={1} alignItems="center" justifyContent="space-between"
|
||||
sx={{borderBottom: 1, borderColor: 'divider', py: 1}}>
|
||||
|
||||
Reference in New Issue
Block a user