summaryrefslogtreecommitdiffstats
path: root/webapp/components/backstage/integrations.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/components/backstage/integrations.jsx')
-rw-r--r--webapp/components/backstage/integrations.jsx7
1 files changed, 4 insertions, 3 deletions
diff --git a/webapp/components/backstage/integrations.jsx b/webapp/components/backstage/integrations.jsx
index 71232ea45..fdd75026a 100644
--- a/webapp/components/backstage/integrations.jsx
+++ b/webapp/components/backstage/integrations.jsx
@@ -5,6 +5,7 @@ import React from 'react';
import {FormattedMessage} from 'react-intl';
import IntegrationOption from './integration_option.jsx';
+import * as Utils from 'utils/utils.jsx';
import WebhookIcon from 'images/webhook_icon.jpg';
@@ -29,7 +30,7 @@ export default class Integrations extends React.Component {
defaultMessage='Incoming webhooks allow external integrations to send messages'
/>
}
- link={'/settings/integrations/incoming_webhooks'}
+ link={'/' + Utils.getTeamNameFromUrl() + '/settings/integrations/incoming_webhooks'}
/>
);
}
@@ -51,7 +52,7 @@ export default class Integrations extends React.Component {
defaultMessage='Outgoing webhooks allow external integrations to receive and respond to messages'
/>
}
- link={'/settings/integrations/outgoing_webhooks'}
+ link={'/' + Utils.getTeamNameFromUrl() + '/settings/integrations/outgoing_webhooks'}
/>
);
}
@@ -73,7 +74,7 @@ export default class Integrations extends React.Component {
defaultMessage='Slash commands send events to an external integration'
/>
}
- link={'/settings/integrations/commands'}
+ link={'/' + Utils.getTeamNameFromUrl() + '/settings/integrations/commands'}
/>
);
}