From b47a8b3f0501b1f62d701c09b5e04677d0a7229f Mon Sep 17 00:00:00 2001 From: Erik Jan de Wit Date: Tue, 29 Oct 2024 12:13:48 +0100 Subject: [PATCH] some migrations have empty name (#34288) fixes: #33309 Signed-off-by: Erik Jan de Wit --- .../admin-ui/src/authentication/RequiredActions.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/js/apps/admin-ui/src/authentication/RequiredActions.tsx b/js/apps/admin-ui/src/authentication/RequiredActions.tsx index fbaa26ee18..48e4f528d7 100644 --- a/js/apps/admin-ui/src/authentication/RequiredActions.tsx +++ b/js/apps/admin-ui/src/authentication/RequiredActions.tsx @@ -20,7 +20,7 @@ type DataType = RequiredActionProviderRepresentation & }; type Row = { - name: string; + name?: string; enabled: boolean; defaultAction: boolean; data: DataType; @@ -173,14 +173,14 @@ export const RequiredActions = () => { displayKey: "enabled", cellRenderer: (row) => ( { updateAction(row.data, "enabled"); }} - aria-label={toKey(row.name)} + aria-label={row.name} /> ), width: 20, @@ -191,7 +191,7 @@ export const RequiredActions = () => { thTooltipText: "authDefaultActionTooltip", cellRenderer: (row) => ( { onChange={() => { updateAction(row.data, "defaultAction"); }} - aria-label={toKey(row.name)} + aria-label={row.name} /> ), width: 20,