1
0
mirror of https://github.com/trezor/trezor-wallet synced 2025-02-13 08:32:00 +00:00

show right col only when account is imported

This commit is contained in:
slowbackspace 2019-04-10 23:27:26 +02:00
parent 0f6c9a70ed
commit 43823607dd

View File

@ -181,7 +181,11 @@ const AccountMenu = (props: Props) => {
</Text>
)}
</Col>
<RightCol>{account.imported && <Badge>watch-only</Badge>}</RightCol>
{account.imported && (
<RightCol>
<Badge>watch-only</Badge>
</RightCol>
)}
</RowAccountWrapper>
</Row>
</NavLink>