aboutsummaryrefslogtreecommitdiffstats
path: root/src/api
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/api
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/api')
-rw-r--r--src/api/apiBase.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/api/apiBase.ts b/src/api/apiBase.ts
index c6e3c0ed8..918213542 100644
--- a/src/api/apiBase.ts
+++ b/src/api/apiBase.ts
@@ -61,16 +61,16 @@ export function serverName(): string {
61 let nameServer; 61 let nameServer;
62 switch (serverType) { 62 switch (serverType) {
63 case LIVE_FRANZ_API: 63 case LIVE_FRANZ_API:
64 nameServer = 'Franz Server'; 64 nameServer = 'Franz';
65 break; 65 break;
66 case LIVE_FERDIUM_API: 66 case LIVE_FERDIUM_API:
67 nameServer = 'Ferdium Server'; 67 nameServer = 'Ferdium';
68 break; 68 break;
69 case noServer: 69 case noServer:
70 nameServer = 'no Server'; 70 nameServer = 'No';
71 break; 71 break;
72 default: 72 default:
73 nameServer = 'a Custom Server'; 73 nameServer = 'Custom';
74 } 74 }
75 75
76 return nameServer; 76 return nameServer;