aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/auth/Welcome.js
diff options
context:
space:
mode:
authorLibravatar André Oliveira <37463445+SpecialAro@users.noreply.github.com>2022-07-05 11:04:19 +0100
committerLibravatar GitHub <noreply@github.com>2022-07-05 11:04:19 +0100
commitc372530ed189eb36d786bfb5a42d785a7dd8a4e8 (patch)
treebcc056023f70037fa87ef88b4441c24f3d6ed110 /src/components/auth/Welcome.js
parent6.0.0-nightly.89 [skip ci] (diff)
downloadferdium-app-c372530ed189eb36d786bfb5a42d785a7dd8a4e8.tar.gz
ferdium-app-c372530ed189eb36d786bfb5a42d785a7dd8a4e8.tar.zst
ferdium-app-c372530ed189eb36d786bfb5a42d785a7dd8a4e8.zip
Add Server Information to About Dialog and to Global Messages (#425)
Add Server Information to About Dialog and to Global Messages
Diffstat (limited to 'src/components/auth/Welcome.js')
-rw-r--r--src/components/auth/Welcome.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/components/auth/Welcome.js b/src/components/auth/Welcome.js
index 830501ac3..c9d592a88 100644
--- a/src/components/auth/Welcome.js
+++ b/src/components/auth/Welcome.js
@@ -21,7 +21,7 @@ const messages = defineMessages({
21 }, 21 },
22 changeServerMessage: { 22 changeServerMessage: {
23 id: 'login.changeServerMessage', 23 id: 'login.changeServerMessage',
24 defaultMessage: 'You are using {serverNameParse}, do you want to switch?' 24 defaultMessage: 'You are using {serverNameParse} Server, do you want to switch?'
25 }, 25 },
26 changeServer: { 26 changeServer: {
27 id: 'login.changeServer', 27 id: 'login.changeServer',
@@ -53,7 +53,9 @@ class Welcome extends Component {
53 recipes = shuffleArray(recipes); 53 recipes = shuffleArray(recipes);
54 recipes.length = 8 * 2; 54 recipes.length = 8 * 2;
55 55
56 const serverNameParse = serverName(); 56 let serverNameParse = serverName();
57 serverNameParse =
58 serverNameParse === 'Custom' ? 'a Custom' : serverNameParse;
57 59
58 return ( 60 return (
59 <div className="welcome"> 61 <div className="welcome">