Restrict adding a server even when the number of servers is zero

This commit is contained in:
Yuya Ochiai
2017-11-07 22:18:24 +09:00
parent 4abd72856f
commit 878b5c1a42
4 changed files with 7 additions and 5 deletions

View File

@@ -40,7 +40,7 @@ function createTemplate(mainWindow, config, isDev) {
}
}];
if (buildConfig.enableServerManagement === true || config.teams.length === 0) {
if (buildConfig.enableServerManagement === true) {
platformAppMenu.push({
label: 'Sign in to Another Server',
click() {