Skip to content

Commit

Permalink
fix: only show stop button when task is running
Browse files Browse the repository at this point in the history
  • Loading branch information
carlinmack committed Jun 5, 2024
1 parent edd3828 commit b72d6f3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ class SearchResultItemComponent extends Component {
</Table.Cell>
)}
<Table.Cell collapsing>
{status === "RUNNING" || status === "QUEUED" ? (
{status === "RUNNING" ? (
<StopButton
stopURL={result.links.stop}
setStatus={(status) => {
Expand Down

0 comments on commit b72d6f3

Please sign in to comment.