module PageHelper
  def project_versions(project)
    versions = Services::Projects::ConvertTagsToVersions.call(project.tags)
    Hash[*versions.sort_by(&:last).reverse.flatten]
  end
end

module PageHelper
  def project_versions(project)
    versions = Services::Projects::ConvertTagsToVersions.call(project.tags)
    versions.reject! { |k, v| v.nil? }
    Hash[*versions.sort_by(&:last).reverse.flatten]
  end
end

Fix showing versions for a project
Fix showing versions for a project
