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