diff options
author | Christopher Speller <crspeller@gmail.com> | 2016-02-11 14:31:23 -0500 |
---|---|---|
committer | Christopher Speller <crspeller@gmail.com> | 2016-02-11 14:31:23 -0500 |
commit | ab1f5acf4d573cc1fae4936650d7e2eb07afdb2e (patch) | |
tree | b03f0f5cb04e603021e76e04c0929f58bd7e0042 /web/react/components/user_settings/manage_outgoing_hooks.jsx | |
parent | 7d207ec8a61f1954fa1e7a5afed40598aa632ea5 (diff) | |
parent | 28703f29d43aaf5a81297534c5b392432f114460 (diff) | |
download | chat-ab1f5acf4d573cc1fae4936650d7e2eb07afdb2e.tar.gz chat-ab1f5acf4d573cc1fae4936650d7e2eb07afdb2e.tar.bz2 chat-ab1f5acf4d573cc1fae4936650d7e2eb07afdb2e.zip |
Merge pull request #2150 from ZBoxApp/PLT-1963
PLT-1963: Fixing intl console error on Outgoing webhook edit
Diffstat (limited to 'web/react/components/user_settings/manage_outgoing_hooks.jsx')
-rw-r--r-- | web/react/components/user_settings/manage_outgoing_hooks.jsx | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/web/react/components/user_settings/manage_outgoing_hooks.jsx b/web/react/components/user_settings/manage_outgoing_hooks.jsx index 3f88e9f41..44aab486e 100644 --- a/web/react/components/user_settings/manage_outgoing_hooks.jsx +++ b/web/react/components/user_settings/manage_outgoing_hooks.jsx @@ -18,6 +18,10 @@ const holders = defineMessages({ callbackHolder: { id: 'user.settings.hooks_out.callbackHolder', defaultMessage: 'Each URL must start with http:// or https://' + }, + select: { + id: 'user.settings.hooks_out.select', + defaultMessage: '--- Select a channel ---' } }); @@ -153,10 +157,7 @@ class ManageOutgoingHooks extends React.Component { key='select-channel' value='' > - <FormattedMessage - id='user.settings.hooks_out.select' - defaultMessage='--- Select a channel ---' - /> + {this.props.intl.formatMessage(holders.select)} </option> ); |