Skip to content

Commit ae9407c

Browse files
committed
Allow cancellation of non-running requests
1 parent 034460d commit ae9407c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

servicex_app/servicex_app/templates/requests_table.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
</td>
6464
<td id="replicas-{{ req.request_id }}">-</td>
6565
<td>
66-
{% if req.status.string_name == 'Running' %}
66+
{% if not req.status.is_complete %}
6767
<button id="cancel-{{ req.request_id }}"
6868
onclick="fetch('/servicex/transformation/{{ req.request_id }}/cancel').then((res) => location.reload())"
6969
type="button" class="btn btn-danger btn-sm">

0 commit comments

Comments
 (0)