mirror of
https://github.com/cheeaun/phanpy.git
synced 2024-11-21 16:55:25 +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();
|
||||
let title = t`Account posts`;
|
||||
if (account?.acct) {
|
||||
const acctDisplay = /@/.test(account.acct) ? '' : '@' + account.acct;
|
||||
const acctDisplay = (/@/.test(account.acct) ? '' : '@') + account.acct;
|
||||
const accountDisplay = account?.displayName
|
||||
? `${account.displayName} (${acctDisplay})`
|
||||
: `${acctDisplay}`;
|
||||
|
|
Loading…
Reference in a new issue