Skip to content

Commit

Permalink
hide remove button for new multivalue container value (e.g ne assignm…
Browse files Browse the repository at this point in the history
…ent, new object policy, new global policy rule, ...)
  • Loading branch information
katkav committed Jun 1, 2020
1 parent 11161af commit fc4c2b1
Showing 1 changed file with 6 additions and 1 deletion.
Expand Up @@ -2747,7 +2747,12 @@ public <IW extends ItemWrapper> Panel initItemPanel(String panelId, QName typeNa
public <C extends Containerable> Panel initContainerValuePanel(String id, IModel<PrismContainerValueWrapper<C>> model,
ItemPanelSettings settings) {
//TODO find from registry first
return new PrismContainerValuePanel<>(id, model, settings);
return new PrismContainerValuePanel<>(id, model, settings) {
@Override
protected boolean isRemoveButtonVisible() {
return false;
}
};
}

public Clock getClock() {
Expand Down

0 comments on commit fc4c2b1

Please sign in to comment.