Add Menu bar option to add a new team
This commit is contained in:
@@ -27,6 +27,11 @@ function createTemplate(mainWindow, config) {
|
||||
click() {
|
||||
mainWindow.loadURL('file://' + __dirname + '/browser/settings.html');
|
||||
}
|
||||
}, {
|
||||
label: 'Sign in to Another Server',
|
||||
click() {
|
||||
mainWindow.webContents.send('add-server');
|
||||
}
|
||||
}, separatorItem, {
|
||||
role: 'hide'
|
||||
}, {
|
||||
@@ -41,6 +46,11 @@ function createTemplate(mainWindow, config) {
|
||||
click() {
|
||||
mainWindow.loadURL('file://' + __dirname + '/browser/settings.html');
|
||||
}
|
||||
}, {
|
||||
label: 'Sign in to Another Server',
|
||||
click() {
|
||||
mainWindow.webContents.send('add-server');
|
||||
}
|
||||
}, separatorItem, {
|
||||
role: 'quit',
|
||||
accelerator: 'CmdOrCtrl+Q',
|
||||
|
Reference in New Issue
Block a user