Skip to content

Commit

Permalink
feat(matrix ui): correct logic for hiding pact links
Browse files Browse the repository at this point in the history
  • Loading branch information
bethesque committed Feb 4, 2018
1 parent ed7498a commit 825af6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pact_broker/ui/view_models/matrix_lines.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 825af6d

Please sign in to comment.