mirror of
https://github.com/stoatchat/for-legacy-web.git
synced 2026-03-07 17:35:28 +00:00
fix: copy full username from user profile
This commit is contained in:
@@ -174,9 +174,20 @@ export const UserProfile = observer(
|
||||
<span
|
||||
className={styles.username}
|
||||
onClick={() =>
|
||||
modalController.writeText(user.username)
|
||||
modalController.writeText(
|
||||
user.username +
|
||||
"#" +
|
||||
user.discriminator,
|
||||
)
|
||||
}>
|
||||
{user.username}#{user.discriminator}
|
||||
<Localizer>
|
||||
<Tooltip
|
||||
content={
|
||||
<Text id="app.special.copy_username" />
|
||||
}>
|
||||
{user.username}#{user.discriminator}
|
||||
</Tooltip>
|
||||
</Localizer>
|
||||
</span>
|
||||
</div>
|
||||
{user.status?.text && (
|
||||
|
||||
Reference in New Issue
Block a user