Fix fields not having links (#38945)
This commit is contained in:
parent
674e2685be
commit
496d41cdce
@ -107,8 +107,13 @@ const FieldCard: FC<{
|
|||||||
field: AccountField;
|
field: AccountField;
|
||||||
}> = ({ htmlHandlers, field }) => {
|
}> = ({ htmlHandlers, field }) => {
|
||||||
const intl = useIntl();
|
const intl = useIntl();
|
||||||
const { name, nameHasEmojis, value_plain, valueHasEmojis, verified_at } =
|
const {
|
||||||
field;
|
name_emojified,
|
||||||
|
nameHasEmojis,
|
||||||
|
value_emojified,
|
||||||
|
valueHasEmojis,
|
||||||
|
verified_at,
|
||||||
|
} = field;
|
||||||
|
|
||||||
const { wrapperRef, isLabelOverflowing, isValueOverflowing } =
|
const { wrapperRef, isLabelOverflowing, isValueOverflowing } =
|
||||||
useFieldOverflow();
|
useFieldOverflow();
|
||||||
@ -131,7 +136,7 @@ const FieldCard: FC<{
|
|||||||
)}
|
)}
|
||||||
label={
|
label={
|
||||||
<FieldHTML
|
<FieldHTML
|
||||||
text={name}
|
text={name_emojified}
|
||||||
textHasCustomEmoji={nameHasEmojis}
|
textHasCustomEmoji={nameHasEmojis}
|
||||||
className='translate'
|
className='translate'
|
||||||
isOverflowing={isLabelOverflowing}
|
isOverflowing={isLabelOverflowing}
|
||||||
@ -141,7 +146,7 @@ const FieldCard: FC<{
|
|||||||
}
|
}
|
||||||
value={
|
value={
|
||||||
<FieldHTML
|
<FieldHTML
|
||||||
text={value_plain}
|
text={value_emojified}
|
||||||
textHasCustomEmoji={valueHasEmojis}
|
textHasCustomEmoji={valueHasEmojis}
|
||||||
isOverflowing={isValueOverflowing}
|
isOverflowing={isValueOverflowing}
|
||||||
onOverflowClick={handleOverflowClick}
|
onOverflowClick={handleOverflowClick}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user