SEBSERV-441 fix

This commit is contained in:
anhefti 2023-05-08 15:00:15 +02:00
parent e949d48710
commit 540bb7290c

View file

@ -69,16 +69,9 @@ public class ColorData {
switch (entry.getStatus()) {
case CONNECTION_REQUESTED:
case AUTHENTICATED: {
if (entry.incidentFlag() > 0) {
return -1;
}
return 1;
return 0;
}
case ACTIVE: {
final int incidentFlag = entry.incidentFlag();
if (incidentFlag > 0) {
return -incidentFlag;
}
return 2;
}
case CLOSED: