kopia lustrzana https://github.com/cheeaun/phanpy
Case-insensitive and don't apply for short:true
rodzic
e9e664d871
commit
3fede678c7
|
@ -11,7 +11,12 @@ function NameText({ account, showAvatar, showAcct, short, external }) {
|
|||
|
||||
const displayNameWithEmoji = emojifyText(displayName, emojis);
|
||||
|
||||
if (username === displayName) username = null;
|
||||
if (
|
||||
!short &&
|
||||
username.toLowerCase().trim() === (displayName || '').toLowerCase().trim()
|
||||
) {
|
||||
username = null;
|
||||
}
|
||||
|
||||
return (
|
||||
<a
|
||||
|
|
Ładowanie…
Reference in New Issue