diff --git a/lib/pact_broker/ui/view_models/matrix_lines.rb b/lib/pact_broker/ui/view_models/matrix_lines.rb index df1b9ee0b..a6b339856 100644 --- a/lib/pact_broker/ui/view_models/matrix_lines.rb +++ b/lib/pact_broker/ui/view_models/matrix_lines.rb @@ -15,7 +15,7 @@ def initialize rows # Don't have a URL to view ovewritten pact revisions, so don't show a link for them until we do line_group_ids = [] each do | line | - line_group_id = [line.consumer_name, line.consumer_version_number, line.provider_name, line.provider_version_number] + line_group_id = [line.consumer_name, line.consumer_version_number, line.provider_name] if line_group_ids.include?(line_group_id) line.overwritten = true else