diff --git a/routes/_components/dialog/StatusOptionsDialog.html b/routes/_components/dialog/StatusOptionsDialog.html index e8850fca..27937fdf 100644 --- a/routes/_components/dialog/StatusOptionsDialog.html +++ b/routes/_components/dialog/StatusOptionsDialog.html @@ -23,15 +23,14 @@ export default { verifyCredentialsId: (verifyCredentials) => verifyCredentials.id, following: (relationship) => relationship && relationship.following, followRequested: (relationship) => relationship && relationship.requested, - accountName: (account) => account && (account.display_name || account.acct), accountId: (account) => account && account.id, - followLabel: (following, followRequested, accountName) => { - if (typeof following === 'undefined' || !accountName) { + followLabel: (following, followRequested, account) => { + if (typeof following === 'undefined' || !account) { return '' } return (following || followRequested) - ? `Unfollow ${accountName}` - : `Follow ${accountName}` + ? `Unfollow @${account.acct}` + : `Follow @${account.acct}` }, items: (followLabel, following, followRequested, accountId, verifyCredentialsId) => ( [