Merge pull request #46 from Luminarys/master
Add validate button to torrents
This commit is contained in:
commit
3ee4461410
|
@ -230,6 +230,12 @@ class Torrent extends Component {
|
||||||
<Collapse isOpen={this.state.infoShown}>
|
<Collapse isOpen={this.state.infoShown}>
|
||||||
<Card style={{marginBottom: "1rem"}}>
|
<Card style={{marginBottom: "1rem"}}>
|
||||||
<CardBlock>
|
<CardBlock>
|
||||||
|
<button
|
||||||
|
className="btn btn-sm btn-outline-primary pull-right"
|
||||||
|
onClick={() => {
|
||||||
|
ws_send("VALIDATE_RESOURCES", { ids: [torrent.id] })
|
||||||
|
}}
|
||||||
|
>Initiate hash check</button>
|
||||||
<dl>
|
<dl>
|
||||||
<dt>Type</dt>
|
<dt>Type</dt>
|
||||||
<dd>{torrent.private ? "Private" : "Public"}</dd>
|
<dd>{torrent.private ? "Private" : "Public"}</dd>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user