Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(mis-web): 导入用户页面的将用户添加入白名单应该放置在导入按键附近 #1455

Merged
merged 2 commits into from
Oct 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading