From 137d6fed8f9e8537670702fa8fe4c29304043c28 Mon Sep 17 00:00:00 2001 From: Nolan Lawson Date: Thu, 1 Feb 2018 09:59:41 -0800 Subject: [PATCH] fix undefined account name --- routes/accounts/[accountId].html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/routes/accounts/[accountId].html b/routes/accounts/[accountId].html index 937e235..4c07849 100644 --- a/routes/accounts/[accountId].html +++ b/routes/accounts/[accountId].html @@ -49,10 +49,10 @@ store: () => store, computed: { profileName: ($currentAccountProfile) => { - return $currentAccountProfile && ('@' + $currentAccountProfile.acct) + return ($currentAccountProfile && ('@' + $currentAccountProfile.acct)) || '' }, shortProfileName: ($currentAccountProfile) => { - return $currentAccountProfile && ('@' + $currentAccountProfile.username) + return ($currentAccountProfile && ('@' + $currentAccountProfile.username)) || '' } }, components: {