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 meeting attachments counter

Oliver Günther68c77809d747
diff --git a/modules/meeting/app/components/meetings/side_panel/attachments_component.html.erb b/modules/meeting/app/components/meetings/side_panel/attachments_component.html.erb
index 89f275625d9..f4c2fb18794 100644
--- a/modules/meeting/app/components/meetings/side_panel/attachments_component.html.erb
+++ b/modules/meeting/app/components/meetings/side_panel/attachments_component.html.erb
@@ -3,7 +3,7 @@
render(Primer::OpenProject::SidePanel::Section.new) do |section|
section.with_title { t(:label_attachment_plural) }
section.with_description { I18n.t('meeting.attachments.text') }
- section.with_counter { @meeting.attachments.count }
+ section.with_counter(count: @meeting.attachments.count)
section.with_footer_button(
id: "meetings-add-attachments",