From 790d05817a4efdb49fea591159da0b615070c481 Mon Sep 17 00:00:00 2001 From: Erik Jan de Wit Date: Tue, 16 Apr 2024 13:04:50 +0200 Subject: [PATCH] reload when id changes (#28773) fixes: #28747 Signed-off-by: Erik Jan de Wit --- js/apps/admin-ui/src/identity-providers/add/AddMapper.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/apps/admin-ui/src/identity-providers/add/AddMapper.tsx b/js/apps/admin-ui/src/identity-providers/add/AddMapper.tsx index 4b8912e031..a2d56bee35 100644 --- a/js/apps/admin-ui/src/identity-providers/add/AddMapper.tsx +++ b/js/apps/admin-ui/src/identity-providers/add/AddMapper.tsx @@ -152,7 +152,7 @@ export default function AddMapper() { setMapperTypes(mappers); }, - [], + [id], ); const setupForm = (mapper: IdentityProviderMapperRepresentation) => {