mirror of
https://github.com/cheeaun/phanpy.git
synced 2024-12-18 23:22:03 +03:00
Fix stupid mistake: title not showing acct
This commit is contained in:
parent
bb9ed041a5
commit
d097697aef
1 changed files with 1 additions and 1 deletions
|
@ -232,7 +232,7 @@ function AccountStatuses() {
|
||||||
const { i18n } = useLingui();
|
const { i18n } = useLingui();
|
||||||
let title = t`Account posts`;
|
let title = t`Account posts`;
|
||||||
if (account?.acct) {
|
if (account?.acct) {
|
||||||
const acctDisplay = /@/.test(account.acct) ? '' : '@' + account.acct;
|
const acctDisplay = (/@/.test(account.acct) ? '' : '@') + account.acct;
|
||||||
const accountDisplay = account?.displayName
|
const accountDisplay = account?.displayName
|
||||||
? `${account.displayName} (${acctDisplay})`
|
? `${account.displayName} (${acctDisplay})`
|
||||||
: `${acctDisplay}`;
|
: `${acctDisplay}`;
|
||||||
|
|
Loading…
Reference in a new issue