summaryrefslogtreecommitdiffhomepage
path: root/app/components
diff options
context:
space:
mode:
Diffstat (limited to 'app/components')
-rw-r--r--app/components/Connect.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/components/Connect.js b/app/components/Connect.js
index a5af9250f7..3948f58944 100644
--- a/app/components/Connect.js
+++ b/app/components/Connect.js
@@ -109,7 +109,9 @@ export default class Connect extends Component {
case 'disconnected': isDisconnected = true; break;
}
- const { city, country } = serverInfo;
+ const { city, country } = isConnected
+ ? serverInfo
+ : { city: '\u2003', country: '\u2002' };
// We decided to not include the map in the first beta release to customers
// but it MUST be included in the following releases. Therefore we choose