mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-09-20 15:26:06 +08:00
Fix "and X more" display in message contacts (#2436)
This was changed from a template string to JSX, but the escape format was not updated. There is also now a missing space before the word "and".
This commit is contained in:
parent
de5e87ea17
commit
f9d69e8c02
|
@ -48,7 +48,7 @@ export default class MessageParticipants extends React.Component<MessageParticip
|
|||
if (names.length > max) {
|
||||
const extra = names.length - max;
|
||||
names = names.slice(0, max);
|
||||
names.push(<span key="contact-more">and ${extra} more</span>);
|
||||
names.push(<span key="contact-more"> and {extra} more</span>);
|
||||
}
|
||||
|
||||
return names;
|
||||
|
|
Loading…
Reference in a new issue