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