use id instead of name (#20717)

fixes: #20694
This commit is contained in:
Erik Jan de Wit 2023-06-12 12:50:03 +02:00 committed by GitHub
parent 8d2dbbe6ad
commit a61b1e7fb2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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",
},
{