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

Fix colspan length bug.

Eric Guocb676b71db52
diff --git a/app/components/projects/table_component.html.erb b/app/components/projects/table_component.html.erb
index f57eb980a3e..aaa7044986f 100644
--- a/app/components/projects/table_component.html.erb
+++ b/app/components/projects/table_component.html.erb
@@ -85,7 +85,7 @@ See COPYRIGHT and LICENSE files for more details.
<tbody>
<% if rows.empty? %>
<tr class="generic-table--empty-row">
- <td colspan="<%= headers.length + 1 %>"><%= empty_row_message %></td>
+ <td colspan="<%= columns.length + 1 %>"><%= empty_row_message %></td>
</tr>
<% end %>
<%= render_collection rows %>