From e49d4e58e8a364b628d7522f3a3657615c8ffcff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Katja=20Su=CC=88ss?= Date: Mon, 26 Feb 2024 11:37:55 +0100 Subject: [PATCH] Speaking naming --- .../Controlpanels/Users/UserGroupMembershipListing.jsx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/packages/volto/src/components/manage/Controlpanels/Users/UserGroupMembershipListing.jsx b/packages/volto/src/components/manage/Controlpanels/Users/UserGroupMembershipListing.jsx index d12dbf10de..80396efcb3 100644 --- a/packages/volto/src/components/manage/Controlpanels/Users/UserGroupMembershipListing.jsx +++ b/packages/volto/src/components/manage/Controlpanels/Users/UserGroupMembershipListing.jsx @@ -12,7 +12,7 @@ import { updateGroup, listUsers } from '@plone/volto/actions'; import down_key from '@plone/volto/icons/down-key.svg'; -const ListingTemplate = ({ +const UserGroupMembershipListing = ({ query_user, // Show users on y-axis that match query_group, // Show groups on y-axis that match groups_filter, // show members of these groups @@ -201,6 +201,10 @@ const ListingTemplate = ({ return (
+
+ current user: + {JSON.stringify(user)} +
{matrix_options && matrix_options?.length > 0 && (
@@ -314,4 +318,4 @@ const ListingTemplate = ({
); }; -export default ListingTemplate; +export default UserGroupMembershipListing;