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

@@ -5,6 +5,7 @@
* @prop {string} defaultTeams[].url - The URL for default team.
* @prop {string} helpLink - The URL for "Help->Learn More..." menu item.
* If null is specified, the menu disappears.
* @prop {boolean} enableServerManagement - Whether users can edit servers configuration.
*/
const buildConfig = {
defaultTeams: [/*
@@ -13,7 +14,8 @@ const buildConfig = {
url: 'https://example.com'
}*/
],
helpLink: 'https://docs.mattermost.com/help/apps/desktop-guide.html'
helpLink: 'https://docs.mattermost.com/help/apps/desktop-guide.html',
enableServerManagement: true
};
module.exports = buildConfig;