diff --git a/frontend/src/core/components/shared/CardSelector.tsx b/frontend/src/core/components/shared/CardSelector.tsx index 8ab206b70..69d970d99 100644 --- a/frontend/src/core/components/shared/CardSelector.tsx +++ b/frontend/src/core/components/shared/CardSelector.tsx @@ -35,16 +35,23 @@ const CardSelector = >({ if (getTooltipContent) { return getTooltipContent(option); } + if (option.tooltipKey) { + const text = t(option.tooltipKey, ''); + if (text) return [{ description: text }]; + } return []; }; return ( - {options.map((option) => ( + {options.map((option) => { + const tips = getTooltips(option); + return ( >({ - ))} + ); + })} ); };