Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

stop polling and progress if job not found

as-op2462ee6dee6e
diff --git a/modules/job_status/app/components/job_status/dialog/body_component.html.erb b/modules/job_status/app/components/job_status/dialog/body_component.html.erb
index e384c6818a9..9fd33a19a80 100644
--- a/modules/job_status/app/components/job_status/dialog/body_component.html.erb
+++ b/modules/job_status/app/components/job_status/dialog/body_component.html.erb
@@ -1,5 +1,5 @@
<%= turbo_frame_tag "job_status_modal" do %>
- <% if !pending? && job.present? %>
+ <% unless pending? %>
<%= content_tag :div, "", data: { "job-status-polling-target": "finished" } %>
<% end %>
<%= render Primer::Beta::Blankslate.new do |component|