diff --git a/entity/LetterRecipient_entity/entityfields/icon/colorProcess.js b/entity/LetterRecipient_entity/entityfields/icon/colorProcess.js index 2284141675c76efe4d00742da5cc858c9b3b97c9..25d65f8b52561d95c5e3d6879fd99d0fb9d85264 100644 --- a/entity/LetterRecipient_entity/entityfields/icon/colorProcess.js +++ b/entity/LetterRecipient_entity/entityfields/icon/colorProcess.js @@ -2,5 +2,5 @@ import("system.vars"); import("system.result"); import("system.neon"); -if (vars.get("$field.HASCOMMRESTRICTION") == "true" || !vars.get("$field.ADDRESS_ID.displayValue").trim()) +if (vars.get("$field.HASCOMMRESTRICTION") == "true" || vars.get("$field.ADDRESS_ID.displayValue").trim() == "-" || !vars.get("$field.ADDRESS_ID.displayValue").trim()) result.string(neon.PRIORITY_HIGH_COLOR); \ No newline at end of file