Skip to content

Commit

Permalink
Don't show the info button when the authors field content is identical (
Browse files Browse the repository at this point in the history
  • Loading branch information
HoussemNasri authored Sep 3, 2022
1 parent 8b48e96 commit 852f5c7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public PersonsNameFieldRowView(Field field, BibEntry leftEntry, BibEntry rightEn
leftEntryNames = authorsParser.parse(viewModel.getLeftFieldValue());
rightEntryNames = authorsParser.parse(viewModel.getRightFieldValue());

if (!leftEntry.equals(rightEntry) && leftEntryNames.equals(rightEntryNames)) {
if (!viewModel.hasEqualLeftAndRightValues() && leftEntryNames.equals(rightEntryNames)) {
showPersonsNamesAreTheSameInfo();
shouldShowDiffs.set(false);
}
Expand Down

0 comments on commit 852f5c7

Please sign in to comment.