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;
|
||||
return a.hostname;
|
||||
})()}
|
||||
{/* TODO: wire up this button: */}
|
||||
<button
|
||||
className="btn btn-sm btn-outline-primary pull-right"
|
||||
onClick={() => {
|
||||
ws_send("UPDATE_TRACKER", { id: tracker.id })
|
||||
}}
|
||||
>Report</button>
|
||||
</h5>
|
||||
<dl>
|
||||
|
|
Loading…
Reference in New Issue
Block a user