[#70315] PIR settings: Apply same toggle rules as for project attributes

This commit is contained in:
Tobias Dillmann
2026-01-16 15:22:30 +01:00
parent dc7c21bd81
commit de07fbf867
@@ -57,11 +57,6 @@ module Projects
end
end
def toggle_disabled?
@project_custom_field.required? ||
configured_as_creation_wizard_assignee?
end
def toggle_data_attributes
{
"turbo-method": :post,