Use correct API to suspend/unsuspend user (#607)

* Use correct API to suspend/unsuspend user

* bring back suspend toggle

* make linter happy
This commit is contained in:
Borislav Pantaleev
2025-06-06 23:49:47 +03:00
committed by GitHub
parent 5165625cd0
commit ab247891dc
5 changed files with 47 additions and 21 deletions

View File

@@ -40,7 +40,7 @@ const UserAccountData = () => {
<>
<Stack direction="column" spacing={2} width="100%">
<Typography variant="h6">{translate("resources.users.account_data.title")}</Typography>
<Typography variant="body1">
<Typography variant="body1" component="div">
<Box>
<Accordion>
<AccordionSummary expandIcon={<ArrowDownwardIcon />}>

View File

@@ -33,7 +33,6 @@ const RateLimitRow = ({
}}
>
<TextField
id="outlined-number"
type="number"
value={value}
onChange={handleChange}