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
remove unused option `if` from work package property select
Ivan Kuchinb6f64e2cfa07
diff --git a/app/models/queries/work_packages/selects/property_select.rb b/app/models/queries/work_packages/selects/property_select.rbindex c73db63aaef..0a7da338fe3 100644--- a/app/models/queries/work_packages/selects/property_select.rb+++ b/app/models/queries/work_packages/selects/property_select.rb@@ -130,15 +130,12 @@ class Queries::WorkPackages::Selects::PropertySelect < Queries::WorkPackages::Seshared_with_users: {sortable: false,groupable: false-}}def self.instances(_context = nil)- property_selects.filter_map do |name, options|- next unless !options[:if] || options[:if].call-- new(name, options.except(:if))+ property_selects.map do |name, options|+ new(name, options)endendend