Skip to content

Commit

Permalink
Fix peer groups control in the peer update view
Browse files Browse the repository at this point in the history
  • Loading branch information
braginini committed Jul 1, 2023
1 parent 3d95a82 commit bae95d2
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions src/components/PeerUpdate.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -863,15 +863,26 @@ const PeerUpdate = () => {
</Form.Item>
</Col>
<Col span={8}>
<Paragraph
style={{
whiteSpace: "pre-line",
margin: 0,
fontWeight: "500",
}}
>
Groups
</Paragraph>
<Text type={"secondary"}>
Use groups to control what this peer can access
</Text>
<Form.Item
name="groupsNames"
label="Select peer groups"
rules={[{ validator: selectValidator }]}
style={{ fontWeight: "500" }}
>
<Select
mode="tags"
style={{ width: "100%" }}
style={{ width: "100%", marginTop: 5 }}
placeholder="Select groups..."
tagRender={tagRender}
dropdownRender={dropDownRender}
Expand Down

0 comments on commit bae95d2

Please sign in to comment.