Move enableServerManagement key from defaultPreferences to buildConfig

This commit is contained in:
Yuya Ochiai
2017-11-07 22:06:42 +09:00
parent 51e6d5f039
commit 4abd72856f
6 changed files with 14 additions and 8 deletions

View File

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