Skip to content

Commit

Permalink
Add referesh button to the peers table (#286)
Browse files Browse the repository at this point in the history
Co-authored-by: braginini <[email protected]>
  • Loading branch information
saroojbkhari and braginini authored Oct 12, 2023
1 parent 8febc26 commit 2d55d07
Showing 1 changed file with 16 additions and 7 deletions.
23 changes: 16 additions & 7 deletions src/views/Peers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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}
Expand All @@ -714,8 +714,17 @@ export const Peers = () => {
))}
</Select>
)}

<Tooltip title="Refersh">

This comment has been minimized.

Copy link
@Fantu

Fantu Oct 23, 2023

Contributor

@saroojbkhari @braginini there is a typo: Refersh->Refresh

<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 && (
Expand Down

0 comments on commit 2d55d07

Please sign in to comment.