diff options
author | 2020-03-28 09:37:21 +0100 | |
---|---|---|
committer | 2020-03-28 09:37:21 +0100 | |
commit | aac09ccbacb05b9d50c0f1a74227e06c80bfe94b (patch) | |
tree | f3629c860a0c3b96668f6aed52f071d21ad8d81b | |
parent | Improve information about premium (diff) | |
download | ferdium-app-aac09ccbacb05b9d50c0f1a74227e06c80bfe94b.tar.gz ferdium-app-aac09ccbacb05b9d50c0f1a74227e06c80bfe94b.tar.zst ferdium-app-aac09ccbacb05b9d50c0f1a74227e06c80bfe94b.zip |
Hide user lastname on Ferdi servers as it is not stored
-rw-r--r-- | src/components/settings/account/AccountDashboard.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/settings/account/AccountDashboard.js b/src/components/settings/account/AccountDashboard.js index 809bfda6e..5c3dc21d0 100644 --- a/src/components/settings/account/AccountDashboard.js +++ b/src/components/settings/account/AccountDashboard.js | |||
@@ -209,7 +209,7 @@ class AccountDashboard extends Component { | |||
209 | </div> | 209 | </div> |
210 | <div className="account__info"> | 210 | <div className="account__info"> |
211 | <H1> | 211 | <H1> |
212 | <span className="username">{`${user.firstname} ${user.lastname}`}</span> | 212 | <span className="username">{`${user.firstname} ${isUsingFranzServer ? user.lastname : ''}`}</span> |
213 | {user.isPremium && ( | 213 | {user.isPremium && ( |
214 | <> | 214 | <> |
215 | {' '} | 215 | {' '} |