Skip to content

Commit

Permalink
fix(mis-web): 导入用户页面的将用户添加入白名单应该放置在导入按键附近 (#1455)
Browse files Browse the repository at this point in the history
  • Loading branch information
tongchong authored Oct 30, 2024
1 parent 897b5dd commit 5726a47
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .changeset/eleven-owls-remember.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@scow/mis-web": patch
---

导入用户页面的将用户添加入白名单应该放置在导入按键附近
7 changes: 4 additions & 3 deletions apps/mis-web/src/pageComponents/admin/ImportUsersTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,9 @@ export const ImportUsersTable: React.FC = () => {
Router.push({ query: { cluster: value.id } });
}}
/>
<Form.Item name="whitelist" valuePropName="checked">
<Checkbox>{t(p("addWhitelist"))}</Checkbox>
</Form.Item>
<Button type="primary" htmlType="submit" loading={loading}>
{t(pCommon("import"))}
</Button>
Expand Down Expand Up @@ -222,9 +225,7 @@ export const ImportUsersTable: React.FC = () => {
)}
/>
</Table>
<Form.Item name="whitelist" valuePropName="checked">
<Checkbox>{t(p("addWhitelist"))}</Checkbox>
</Form.Item>

<Drawer
placement="right"
onClose={() => setusersList(undefined)}
Expand Down

0 comments on commit 5726a47

Please sign in to comment.