summaryrefslogtreecommitdiffstats
path: root/webapp/components/backstage
diff options
context:
space:
mode:
authorJoram Wilander <jwawilander@gmail.com>2016-05-02 08:08:36 -0400
committerChristopher Speller <crspeller@gmail.com>2016-05-02 08:08:36 -0400
commit3c2140506022fb468795d3fc7cf1102cc3ba2b03 (patch)
treeea69d909d75d8f280b2eb7efdc96e86970d632af /webapp/components/backstage
parentb49d138cf9f1c099dda7ce50f33f79aa816d8b4e (diff)
downloadchat-3c2140506022fb468795d3fc7cf1102cc3ba2b03.tar.gz
chat-3c2140506022fb468795d3fc7cf1102cc3ba2b03.tar.bz2
chat-3c2140506022fb468795d3fc7cf1102cc3ba2b03.zip
Fixed cancel link when adding incoming webhooks (#2831)
Diffstat (limited to 'webapp/components/backstage')
-rw-r--r--webapp/components/backstage/add_incoming_webhook.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/webapp/components/backstage/add_incoming_webhook.jsx b/webapp/components/backstage/add_incoming_webhook.jsx
index 0f0d49ea7..445d370b5 100644
--- a/webapp/components/backstage/add_incoming_webhook.jsx
+++ b/webapp/components/backstage/add_incoming_webhook.jsx
@@ -180,7 +180,7 @@ export default class AddIncomingWebhook extends React.Component {
<FormError errors={[this.state.serverError, this.state.clientError]}/>
<Link
className='btn btn-sm'
- to={'/settings/integrations/incoming_webhooks'}
+ to={'/' + Utils.getTeamNameFromUrl() + '/settings/integrations/incoming_webhooks'}
>
<FormattedMessage
id='add_incoming_webhook.cancel'