Skip to content

Commit

Permalink
policy rule display name fix
Browse files Browse the repository at this point in the history
  • Loading branch information
KaterynaHonchar committed Sep 10, 2019
1 parent 52d5c50 commit cbb153f
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -249,7 +249,9 @@ public static String getName(PrismContainerValueWrapper<AssignmentType> assignme
if (property != null && !property.getValues().isEmpty()) {
for (PrismPropertyValueWrapper<String> value : property.getValues()) {
ItemRealValueModel<String> name = new ItemRealValueModel<String>(Model.of(value));
sbName.append(name.getObject()).append("\n");
if (StringUtils.isNotEmpty(name.getObject())) {
sbName.append(name.getObject()).append("\n");
}
}
}
if (StringUtils.isNotEmpty(sbName.toString())){
Expand Down

0 comments on commit cbb153f

Please sign in to comment.