Wire up manual tracker report button
This commit is contained in:
parent
8a7e90f8cb
commit
ac4d290a28
|
@ -238,9 +238,11 @@ class Torrent extends Component {
|
||||||
a.href = tracker.url;
|
a.href = tracker.url;
|
||||||
return a.hostname;
|
return a.hostname;
|
||||||
})()}
|
})()}
|
||||||
{/* TODO: wire up this button: */}
|
|
||||||
<button
|
<button
|
||||||
className="btn btn-sm btn-outline-primary pull-right"
|
className="btn btn-sm btn-outline-primary pull-right"
|
||||||
|
onClick={() => {
|
||||||
|
ws_send("UPDATE_TRACKER", { id: tracker.id })
|
||||||
|
}}
|
||||||
>Report</button>
|
>Report</button>
|
||||||
</h5>
|
</h5>
|
||||||
<dl>
|
<dl>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user