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

Use default cutoff

Oliver Güntherd7ba18522dfd
diff --git a/app/components/users/profile/groups_component.html.erb b/app/components/users/profile/groups_component.html.erb
index 41937ba22be..9ed5e58f13e 100644
--- a/app/components/users/profile/groups_component.html.erb
+++ b/app/components/users/profile/groups_component.html.erb
@@ -19,7 +19,7 @@
end
details_container.with_row(mt: 2) do
- render(OpPrimer::ExpandableListComponent.new(cutoff_limit: 5)) do |list|
+ render(OpPrimer::ExpandableListComponent.new) do |list|
@groups.each do |group|
list.with_element do
helpers.avatar(group, size: :mini, hide_name: false)
diff --git a/app/components/users/profile/projects_component.html.erb b/app/components/users/profile/projects_component.html.erb
index 98f33e47df6..6bdea540b9d 100644
--- a/app/components/users/profile/projects_component.html.erb
+++ b/app/components/users/profile/projects_component.html.erb
@@ -19,7 +19,7 @@
end
details_container.with_row(mt: 2) do
- render(OpPrimer::ExpandableListComponent.new(cutoff_limit: 5)) do |list|
+ render(OpPrimer::ExpandableListComponent.new) do |list|
@memberships.each do |membership|
list.with_element do
concat helpers.link_to_project(membership.project)