Skip to content

Commit 87ff65f

Browse files
adding peers approval flag to non user bound devices (#310)
1 parent 748596f commit 87ff65f

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

src/views/Peers.tsx

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -679,7 +679,15 @@ export const Peers = () => {
679679
</Row>
680680
</span>
681681
</Button>
682-
<Row>{loginExpire}</Row>
682+
<Row style={{ minWidth: "195px", paddingLeft: "15px" }}>{loginExpire} <Button
683+
type="text"
684+
style={{ height: "auto", whiteSpace: "normal", textAlign: "center", padding: "0px", margin: "0px" }}
685+
onClick={() => showConfirmApprove(peer)}
686+
className={!isAdmin ? "nohover" : ""}
687+
>
688+
{approval}
689+
</Button>
690+
</Row>
683691
</>
684692
);
685693
}

0 commit comments

Comments
 (0)