This commit is contained in:
parent
17ec9ea69d
commit
7f06777237
|
@ -16,7 +16,7 @@ interface BadgeConstituentaProps extends CProps.Styling {
|
|||
function BadgeConstituenta({ value, prefixID, className, style, theme }: BadgeConstituentaProps) {
|
||||
return (
|
||||
<div
|
||||
id={`${prefixID}${value.alias}`}
|
||||
id={`${prefixID}${value.id}`}
|
||||
className={clsx(
|
||||
'min-w-[3.1rem] max-w-[3.1rem]',
|
||||
'px-1',
|
||||
|
@ -33,7 +33,7 @@ function BadgeConstituenta({ value, prefixID, className, style, theme }: BadgeCo
|
|||
}}
|
||||
>
|
||||
{value.alias}
|
||||
<TooltipConstituenta anchor={`#${prefixID}${value.alias}`} data={value} />
|
||||
<TooltipConstituenta anchor={`#${prefixID}${value.id}`} data={value} />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
|
|
@ -182,7 +182,11 @@ function PickSubstitutions({
|
|||
id: 'left_alias',
|
||||
size: 65,
|
||||
cell: props => (
|
||||
<BadgeConstituenta theme={colors} value={props.row.original.substitution} prefixID={`${prefixID}_1_`} />
|
||||
<BadgeConstituenta
|
||||
theme={colors}
|
||||
value={props.row.original.substitution}
|
||||
prefixID={`${prefixID}_${props.row.index}_1_`}
|
||||
/>
|
||||
)
|
||||
}),
|
||||
columnHelper.display({
|
||||
|
@ -194,7 +198,11 @@ function PickSubstitutions({
|
|||
id: 'right_alias',
|
||||
size: 65,
|
||||
cell: props => (
|
||||
<BadgeConstituenta theme={colors} value={props.row.original.original} prefixID={`${prefixID}_2_`} />
|
||||
<BadgeConstituenta
|
||||
theme={colors}
|
||||
value={props.row.original.original}
|
||||
prefixID={`${prefixID}_${props.row.index}_2_`}
|
||||
/>
|
||||
)
|
||||
}),
|
||||
columnHelper.accessor(item => item.original_source.alias, {
|
||||
|
|
Loading…
Reference in New Issue
Block a user