mirror of
https://github.com/netbirdio/dashboard.git
synced 2026-01-26 01:21:04 +00:00
Add referesh button to the peers table (#286)
Co-authored-by: braginini <bangvalo@gmail.com>
This commit is contained in:
@@ -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 && (
|
||||
|
||||
Reference in New Issue
Block a user