Skip to content

Commit

Permalink
fix HUEditorView.notifyRecordsChanged
Browse files Browse the repository at this point in the history
  • Loading branch information
teosarca committed May 3, 2017
1 parent 75832d3 commit e64d806
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main/java/de/metas/ui/web/handlingunits/HUEditorView.java
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,10 @@ public void notifyRecordsChanged(final Set<TableRecordReference> recordRefs)
.filter(recordRef -> I_M_HU.Table_Name.equals(recordRef.getTableName()))
.map(recordRef -> recordRef.getRecord_ID())
.collect(ImmutableSet.toImmutableSet());
if(huIdsToCheck.isEmpty())
{
return;
}

final boolean containsSomeRecords = rowsBuffer.containsAnyOfHUIds(huIdsToCheck);
if (!containsSomeRecords)
Expand Down

0 comments on commit e64d806

Please sign in to comment.