|
@ -9,8 +9,6 @@ export default function Settings() { |
|
|
|
|
|
|
|
|
const { roles } = useRoles() |
|
|
const { roles } = useRoles() |
|
|
|
|
|
|
|
|
const [open, setOpen] = useState(false) |
|
|
|
|
|
|
|
|
|
|
|
const columns: GridColDef[] = [ |
|
|
const columns: GridColDef[] = [ |
|
|
{ field: 'id', headerName: 'ID', type: "number", width: 70 }, |
|
|
{ field: 'id', headerName: 'ID', type: "number", width: 70 }, |
|
|
{ field: 'email', headerName: 'Email', width: 130, editable: true }, |
|
|
{ field: 'email', headerName: 'Email', width: 130, editable: true }, |
|
@ -45,10 +43,6 @@ export default function Settings() { |
|
|
gap: "16px", |
|
|
gap: "16px", |
|
|
}} |
|
|
}} |
|
|
> |
|
|
> |
|
|
<Button onClick={() => setOpen(true)}> |
|
|
|
|
|
Добавить пользователя |
|
|
|
|
|
</Button> |
|
|
|
|
|
|
|
|
|
|
|
<DataGrid |
|
|
<DataGrid |
|
|
autoHeight |
|
|
autoHeight |
|
|
style={{ width: "100%" }} |
|
|
style={{ width: "100%" }} |
|
|