From a61b1e7fb2a5505dc2a29bebe6e505b0f9439481 Mon Sep 17 00:00:00 2001 From: Erik Jan de Wit Date: Mon, 12 Jun 2023 12:50:03 +0200 Subject: [PATCH] use id instead of name (#20717) fixes: #20694 --- js/apps/admin-ui/src/client-scopes/add/MapperDialog.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/js/apps/admin-ui/src/client-scopes/add/MapperDialog.tsx b/js/apps/admin-ui/src/client-scopes/add/MapperDialog.tsx index d5df6f8af9..d53c97dbff 100644 --- a/js/apps/admin-ui/src/client-scopes/add/MapperDialog.tsx +++ b/js/apps/admin-ui/src/client-scopes/add/MapperDialog.tsx @@ -24,7 +24,7 @@ import { KeycloakDataTable } from "../../components/table-toolbar/KeycloakDataTa import useLocaleSort, { mapByKey } from "../../utils/useLocaleSort"; type Row = { - name: string; + id: string; description: string; item: ProtocolMapperRepresentation; }; @@ -61,7 +61,7 @@ export const AddMapperDialog = (props: AddMapperDialogProps) => { )[0]; return { item: mapper, - name: mapper.name!, + id: mapper.name!, description: mapperType.helpText, }; }), @@ -191,7 +191,7 @@ export const AddMapperDialog = (props: AddMapperDialogProps) => { searchPlaceholderKey="common:searchForMapper" columns={[ { - name: "name", + name: "id", displayKey: "common:name", }, {