Skip to content

Commit 2d55d07

Browse files
Add referesh button to the peers table (#286)
Co-authored-by: braginini <[email protected]>
1 parent 8febc26 commit 2d55d07

File tree

1 file changed

+16
-7
lines changed

1 file changed

+16
-7
lines changed

src/views/Peers.tsx

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -666,11 +666,11 @@ export const Peers = () => {
666666
<Col
667667
xs={24}
668668
sm={24}
669-
md={11}
670-
lg={11}
671-
xl={11}
672-
xxl={11}
673-
span={11}
669+
md={12}
670+
lg={12}
671+
xl={12}
672+
xxl={12}
673+
span={12}
674674
>
675675
<Space size="middle" style={{ marginRight: "15px" }}>
676676
<Radio.Group
@@ -691,10 +691,10 @@ export const Peers = () => {
691691
className="select-rows-per-page-en"
692692
/>
693693
</Space>
694-
695694
{isAdmin && (
696695
<Select
697696
mode="tags"
697+
style={{ marginRight: "15px" }}
698698
placeholder="Filter by groups"
699699
tagRender={blueTagRender}
700700
// dropdownRender={dropDownRender}
@@ -714,8 +714,17 @@ export const Peers = () => {
714714
))}
715715
</Select>
716716
)}
717+
718+
<Tooltip title="Refersh">
719+
<Button
720+
onClick={refresh}
721+
style={{color: "#1890ff" }}
722+
>
723+
<ReloadOutlined />
724+
</Button>
725+
</Tooltip>
717726
</Col>
718-
<Col xs={24} sm={24} md={5} lg={5} xl={5} xxl={5} span={5}>
727+
<Col xs={24} sm={24} md={4} lg={4} xl={4} xxl={4} span={4}>
719728
<Row justify="end">
720729
<Col>
721730
{!showTutorial && (

0 commit comments

Comments
 (0)