Merge pull request #7045 from gdicristofaro/hostsForPersonsFix

no person hosts fix
This commit is contained in:
Richard Cordovano 2021-06-16 11:59:23 -04:00 committed by GitHub
commit f127ccf70c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -129,7 +129,7 @@ public final class AutopsyTreeChildFactory extends ChildFactory.Detachable<Objec
.sorted()
.collect(Collectors.toList());
if (CollectionUtils.isNotEmpty(personManager.getHostsForPerson(null))) {
if (CollectionUtils.isNotEmpty(personManager.getHostsWithoutPersons())) {
nodes.add(new PersonGrouping(null));
}
} else {