minor fix in monitoring table update

This commit is contained in:
anhefti 2022-01-27 14:50:53 +01:00
parent e0298a2727
commit 78a0c562cc

View file

@ -284,8 +284,11 @@ public final class ClientConnectionTable implements FullPageMonitoringGUIUpdate
@Override
public void update(final MonitoringStatus monitoringStatus) {
final Collection<ClientConnectionData> connectionData = monitoringStatus.getConnectionData();
final boolean needsSync = monitoringStatus.statusFilterChanged() ||
this.forceUpdateAll ||
connectionData.size() != this.table.getItemCount() ||
(this.tableMapping != null &&
this.table != null &&
this.tableMapping.size() != this.table.getItemCount())