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 NewComponent.wrapper_key to reference frame

Alexander Brandon Coles98a8817e726e
diff --git a/app/components/projects/template_select_component.html.erb b/app/components/projects/template_select_component.html.erb
index f4522173ecd..028d3704558 100644
--- a/app/components/projects/template_select_component.html.erb
+++ b/app/components/projects/template_select_component.html.erb
@@ -33,7 +33,7 @@ See COPYRIGHT and LICENSE files for more details.
url: new_project_path,
method: :get,
data: {
- turbo_frame: "projects-new-component",
+ turbo_frame: Projects::NewComponent.wrapper_key,
controller: "auto-submit",
auto_submit_delay_value: 0
}