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
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Incorporates @Kharonus feedback
Marcello Rocha8ae9df614244
diff --git a/app/components/admin/custom_fields/hierarchy/item_component.html.erb b/app/components/admin/custom_fields/hierarchy/item_component.html.erbindex e2f4d08109f..eabc0eea2cc 100644--- a/app/components/admin/custom_fields/hierarchy/item_component.html.erb+++ b/app/components/admin/custom_fields/hierarchy/item_component.html.erb@@ -39,7 +39,7 @@ See COPYRIGHT and LICENSE files for more details.flex_layout(align_items: :center, justify_content: :space_between, test_selector: "op-custom-fields--hierarchy-item") do |item_container|item_container.with_column(flex_layout: true) do |item_information|item_information.with_column(mr: 2) do- render(Primer::Beta::Link.new(href: custom_field_item_path(model.root.custom_field_id, model), underline: false)) do+ render(Primer::Beta::Link.new(href: custom_field_item_path(@root.custom_field_id, model), underline: false)) dorender(Primer::Beta::Text.new(font_weight: :bold)) { model.label }endenddiff --git a/app/components/admin/custom_fields/hierarchy/items_component.rb b/app/components/admin/custom_fields/hierarchy/items_component.rbindex bfa1e335ed5..65925a95263 100644--- a/app/components/admin/custom_fields/hierarchy/items_component.rb+++ b/app/components/admin/custom_fields/hierarchy/items_component.rb@@ -42,7 +42,6 @@ module Admin@new_item = new_itemend- def branch_root = modeldef show_new_item_form? = @new_itemdef root