Skip to content

Commit a47a0e3

Browse files
committed
server-page: Improve add new server page.
WIP, #340.
1 parent 8e04920 commit a47a0e3

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

app/renderer/js/pages/preference/server-info-form.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'use strict';
2-
const {dialog} = require('electron').remote;
3-
const {ipcRenderer} = require('electron');
2+
const { dialog } = require('electron').remote;
3+
const { ipcRenderer } = require('electron');
44

55
const BaseComponent = require(__dirname + '/../../components/base.js');
66
const DomainUtil = require(__dirname + '/../../utils/domain-util.js');
@@ -55,7 +55,7 @@ class ServerInfoForm extends BaseComponent {
5555
type: 'warning',
5656
buttons: ['YES', 'NO'],
5757
defaultId: 0,
58-
message: 'Are you sure you want to delete this server?'
58+
message: 'Are you sure you want to disconnect this organization?'
5959
}, response => {
6060
if (response === 0) {
6161
DomainUtil.removeDomain(this.props.index);

app/renderer/js/pages/preference/servers-section.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ class ServersSection extends BaseSection {
4040

4141
this.$serverInfoContainer.innerHTML = servers.length ? '' : '';
4242
// Show Existing servers if servers are there otherwise hide it
43-
this.$existingServers.innerHTML = servers.length === 0 ? '' : 'Existing organizations';
43+
this.$existingServers.innerHTML = servers.length === 0 ? '' : 'Connected organizations';
4444
this.initNewServerForm();
4545

4646
this.$createOrganizationContainer = document.getElementById('create-organization-container');

0 commit comments

Comments
 (0)