Fix action component
@@ -12,13 +12,13 @@ function Actions({onDelete, onStop, isRunning = false}: Props) {
<div className="btn-toolbar action" role="toolbar">
{onStop && isRunning &&
<OverlayTrigger placement="bottom" overlay={<Tooltip id="tooltipId">Stop</Tooltip>}>
- <button className="btn btn-default btn-sm">
+ <button className="btn btn-default btn-sm" onClick={onStop}>
<i className="fa fa-stop icon" aria-hidden="true"/>
</button>
</OverlayTrigger>
}
<OverlayTrigger placement="bottom" overlay={<Tooltip id="tooltipId">Delete</Tooltip>}>
- <button className="btn btn-default btn-sm">
+ <button className="btn btn-default btn-sm" onClick={onDelete}>
<i className="fa fa-trash icon" aria-hidden="true"/>
</button>
</OverlayTrigger>
