app/controllers/reports_controller.rb
def filter_deprecated(reports)
    reports.select do |report|
      deprecated_branches = DEPRECATED_SERVER_BRANCHES.fetch(report.server&.name, [])
      report.branch != 'trunk' && deprecated_branches.exclude?(report.branch)
    end
  end
# Put server name and branch which you want to hide without waiting for 14 days
Put server name and branch which you want to hide without waiting for 14 days
Put server name and branch which you want to hide without waiting for 14 days
def filter_deprecated(reports)
    reports.select do |report|
      deprecated_branches = DEPRECATED_SERVER_BRANCHES.fetch(report.server&.name, [])
      report.branch != 'trunk' && deprecated_branches.exclude?(report.branch)
    end
  end
def filter_deprecated ( reports ) reports . select do | report | deprecated_branches = DEPRECATED_SERVER_BRANCHES . fetch ( report . server &. name , [ ] ) report . branch != 'trunk' && deprecated_branches . exclude? ( report . branch ) end end
Put server name and branch which you want to hide without waiting for 14 days
Put server name and branch which you want to hide without waiting for 14 days
reports