mirror of
https://github.com/status-im/snt-voting.git
synced 2025-02-23 15:48:10 +00:00
fix bug that displays 0 when no link
This commit is contained in:
parent
c019c43391
commit
d83c17ec62
@ -164,7 +164,7 @@ class Poll extends PureComponent {
|
||||
{balance != 0 && !_canVote && <span>You can not vote on this poll</span>}
|
||||
</Typography>}
|
||||
{error && <Typography variant="body2" color="error">{error}</Typography>}
|
||||
{ideaSite && ideaSite.length && <Typography onClick={this.handleClickOpen} variant="subheading" color="primary">{ideaSite}</Typography>}
|
||||
{ideaSite && ideaSite.length > 0 && <Typography onClick={this.handleClickOpen} variant="subheading" color="primary">{ideaSite}</Typography>}
|
||||
{ideaSite && <Dialog
|
||||
fullScreen
|
||||
open={this.state.open}
|
||||
|
Loading…
x
Reference in New Issue
Block a user