From b3edd32aee47a0b123870de58664600acc17087b Mon Sep 17 00:00:00 2001 From: Harrison Healey Date: Tue, 5 Apr 2016 09:29:01 -0400 Subject: PLT-1750 Moved slash commands to backstage * Added slash commands to InstalledIntegrations page * Reset installed integration type filter if there is no longer any integrations of the selected type * Added pages to backstage to add slash commands * Cleaned up internationalization for slash commands * Added ability to regen slash command tokens from backstage * Removed Integrations tab from UserSettings --- webapp/components/backstage/add_integration.jsx | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'webapp/components/backstage/add_integration.jsx') diff --git a/webapp/components/backstage/add_integration.jsx b/webapp/components/backstage/add_integration.jsx index 5f4a69bfe..0ab36e101 100644 --- a/webapp/components/backstage/add_integration.jsx +++ b/webapp/components/backstage/add_integration.jsx @@ -56,6 +56,28 @@ export default class AddIntegration extends React.Component { ); } + if (window.mm_config.EnableCommands === 'true') { + options.push( + + } + description={ + + } + link={'/settings/integrations/add/command'} + /> + ); + } + return (
-- cgit v1.2.3-1-g7c22