Add referesh button to the peers table (#286)

Co-authored-by: braginini <bangvalo@gmail.com>
This commit is contained in:
Sarooj bukhari
2023-10-12 21:38:59 +05:00
committed by GitHub
parent 8febc26f1f
commit 2d55d0736f

View File

@@ -666,11 +666,11 @@ export const Peers = () => {
<Col
xs={24}
sm={24}
md={11}
lg={11}
xl={11}
xxl={11}
span={11}
md={12}
lg={12}
xl={12}
xxl={12}
span={12}
>
<Space size="middle" style={{ marginRight: "15px" }}>
<Radio.Group
@@ -691,10 +691,10 @@ export const Peers = () => {
className="select-rows-per-page-en"
/>
</Space>
{isAdmin && (
<Select
mode="tags"
style={{ marginRight: "15px" }}
placeholder="Filter by groups"
tagRender={blueTagRender}
// dropdownRender={dropDownRender}
@@ -714,8 +714,17 @@ export const Peers = () => {
))}
</Select>
)}
<Tooltip title="Refersh">
<Button
onClick={refresh}
style={{color: "#1890ff" }}
>
<ReloadOutlined />
</Button>
</Tooltip>
</Col>
<Col xs={24} sm={24} md={5} lg={5} xl={5} xxl={5} span={5}>
<Col xs={24} sm={24} md={4} lg={4} xl={4} xxl={4} span={4}>
<Row justify="end">
<Col>
{!showTutorial && (