This is an automated email from the ASF dual-hosted git repository. ilgrosso pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/syncope.git
commit dc595c5bd698cf6b2887356f4dd11f0461975164 Author: Francesco Chicchiriccò <ilgro...@apache.org> AuthorDate: Wed Oct 25 09:55:24 2023 +0200 Fixing group members modal's title --- .../syncope/client/console/panels/GroupDirectoryPanel.java | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/client/idrepo/console/src/main/java/org/apache/syncope/client/console/panels/GroupDirectoryPanel.java b/client/idrepo/console/src/main/java/org/apache/syncope/client/console/panels/GroupDirectoryPanel.java index abc7da3cd3..0b2265492b 100644 --- a/client/idrepo/console/src/main/java/org/apache/syncope/client/console/panels/GroupDirectoryPanel.java +++ b/client/idrepo/console/src/main/java/org/apache/syncope/client/console/panels/GroupDirectoryPanel.java @@ -105,7 +105,7 @@ public class GroupDirectoryPanel extends AnyDirectoryPanel<GroupTO, GroupRestCli protected final BaseModal<Serializable> membersModal = new BaseModal<>(Constants.OUTER); - protected final MembersTogglePanel templates; + protected final MembersTogglePanel membersTogglePanel; protected GroupDirectoryPanel(final String id, final Builder builder, final boolean wizardInModal) { super(id, builder, wizardInModal); @@ -118,7 +118,7 @@ public class GroupDirectoryPanel extends AnyDirectoryPanel<GroupTO, GroupRestCli addOuterObject(membersModal); membersModal.size(Modal.Size.Large); - templates = new MembersTogglePanel(page.getPageReference()) { + membersTogglePanel = new MembersTogglePanel(page.getPageReference()) { private static final long serialVersionUID = -8765794727538618705L; @@ -200,7 +200,7 @@ public class GroupDirectoryPanel extends AnyDirectoryPanel<GroupTO, GroupRestCli } }; - addOuterObject(templates); + addOuterObject(membersTogglePanel); } @Override @@ -273,8 +273,9 @@ public class GroupDirectoryPanel extends AnyDirectoryPanel<GroupTO, GroupRestCli @Override public void onClick(final AjaxRequestTarget target, final GroupTO ignore) { - templates.setTargetObject(model.getObject()); - templates.toggle(target, true); + membersTogglePanel.setHeader(target, model.getObject().getName()); + membersTogglePanel.setTargetObject(model.getObject()); + membersTogglePanel.toggle(target, model.getObject(), true); } @Override