mirror of
https://github.com/vector-im/element-web.git
synced 2025-08-24 16:01:42 +02:00
Merge pull request #4150 from matrix-org/travis/fix-cutoff
Fix the last char of people's names being cut off in the invite dialog
This commit is contained in:
commit
680beb858e
@ -219,7 +219,7 @@ class DMRoomTile extends React.PureComponent {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Push any text we missed (end of text)
|
// Push any text we missed (end of text)
|
||||||
if (i < (str.length - 1)) {
|
if (i < str.length) {
|
||||||
result.push(<span key={i + 'end'}>{str.substring(i)}</span>);
|
result.push(<span key={i + 'end'}>{str.substring(i)}</span>);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user