fix: expand model after edting replicas

This commit is contained in:
jialin
2025-10-27 14:13:47 +08:00
parent 7e81871118
commit 6969cb0b9c
5 changed files with 36 additions and 182 deletions
+4
View File
@@ -102,6 +102,10 @@ const AddModal: React.FC<AddModalProps> = ({
<Form.Item<FormData> name="is_admin" rules={[{ required: false }]}>
<SealSelect
label={intl.formatMessage({ id: 'users.table.role' })}
disabled={
data?.id === initialState?.currentUser?.id &&
action === PageAction.EDIT
}
>
{UserRolesOptions.map((item) => {
return (