From 83371ce75b5be04c53e3264d4349128b3d2fc625 Mon Sep 17 00:00:00 2001 From: Erik Jan de Wit Date: Tue, 3 May 2022 14:03:34 +0200 Subject: [PATCH] fixed client lookup for non master realm (#2563) fixes: #2562 --- src/components/permission-tab/PermissionTab.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/permission-tab/PermissionTab.tsx b/src/components/permission-tab/PermissionTab.tsx index 2a66a68069..1ed3d84ddd 100644 --- a/src/components/permission-tab/PermissionTab.tsx +++ b/src/components/permission-tab/PermissionTab.tsx @@ -71,7 +71,7 @@ export const PermissionsTab = ({ id, type }: PermissionsTabProps) => { Promise.all([ adminClient.clients.find({ search: true, - clientId: realm, + clientId: realm === "master" ? "master-realm" : "realm-management", }), (() => { switch (type) {