SEBSERV-391

This commit is contained in:
anhefti 2023-03-09 08:38:33 +01:00
parent b17cab29f9
commit 5f35bfb419

View file

@ -645,13 +645,12 @@ public class ResourceService {
return monitoringEntry -> {
final ConnectionStatus status = monitoringEntry.getStatus();
if (status.establishedStatus) {
if (status.connectingStatus || status.establishedStatus) {
if (monitoringEntry.hasMissingPing()) {
return missingPing;
}
if (!monitoringEntry.grantChecked()) {
if (monitoringEntry.showNoGrantCheckApplied()) {
return localizedNames.get(status) + grantMissingText;
}
} else if (monitoringEntry.grantDenied()) {