Merge pull request #2113 from mattermost/slash-command-fixes

Multiple minor slash command fixes
Этот коммит содержится в:
Christopher Speller
2016-02-09 11:24:14 -05:00
родитель 63f830938b 8ac0e800f1
Коммит a4cce1023c
2 изменённых файлов: 8 добавлений и 2 удалений

Просмотреть файл

@@ -234,7 +234,7 @@ class UserSettingsModal extends React.Component {
tabs.push({name: 'developer', uiName: formatMessage(holders.developer), icon: 'glyphicon glyphicon-th'});
}
if (global.window.mm_config.EnableIncomingWebhooks === 'true' || global.window.mm_config.EnableOutgoingWebhooks === 'true') {
if (global.window.mm_config.EnableIncomingWebhooks === 'true' || global.window.mm_config.EnableOutgoingWebhooks === 'true' || global.window.mm_config.EnableCommands === 'true') {
tabs.push({name: 'integrations', uiName: formatMessage(holders.integrations), icon: 'glyphicon glyphicon-transfer'});
}
tabs.push({name: 'display', uiName: formatMessage(holders.display), icon: 'glyphicon glyphicon-eye-open'});