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

[#64831] Remove attachment deletion from dialog

Alexander Brandon Coles1919d5f889f1
diff --git a/app/components/attribute_help_texts/show_dialog_component.html.erb b/app/components/attribute_help_texts/show_dialog_component.html.erb
index f5ad22ce1c1..55278baab9c 100644
--- a/app/components/attribute_help_texts/show_dialog_component.html.erb
+++ b/app/components/attribute_help_texts/show_dialog_component.html.erb
@@ -11,7 +11,10 @@
if has_attachments?
concat render(Primer::Beta::Heading.new(tag: :h4)) { I18n.t(:label_attachment_plural) }
- concat helpers.list_attachments(resource_representer, inputs: { allowUploading: false })
+ concat helpers.list_attachments(
+ resource_representer,
+ inputs: { allowUploading: false, allowRemoval: false }
+ )
end
end