mirror of
https://github.com/status-im/visual-identity.git
synced 2025-02-12 20:46:35 +00:00
Slider is disabled depending on voting
This commit is contained in:
parent
3ba4d1e560
commit
f83aa448c4
@ -98,7 +98,7 @@ class Poll extends Component {
|
||||
</CardContent>
|
||||
<Tooltip id="tooltip-icon" placement="top" title={`${value} votes`}>
|
||||
<CardActions>
|
||||
<Slider value={value} min={0} max={maxValue} step={1} onChange={this.handleChange} />
|
||||
<Slider disabled={disableVote} value={value} min={0} max={maxValue} step={1} onChange={this.handleChange} />
|
||||
<Button variant="contained" disabled={disableVote} color="primary" onClick={this.handleClick}>Vote</Button>
|
||||
</CardActions>
|
||||
</Tooltip>
|
||||
|
Loading…
x
Reference in New Issue
Block a user