diff options
author | David Lu <david.lu@hotmail.com> | 2016-05-26 05:36:51 -0700 |
---|---|---|
committer | Christopher Speller <crspeller@gmail.com> | 2016-05-26 08:36:51 -0400 |
commit | 4353e1fb978b70966800049cbf62088a53ab6df4 (patch) | |
tree | b2269459676b4e11f9630d10d727fb05c2ca717e /webapp/components/backstage/add_incoming_webhook.jsx | |
parent | 335e5cc4dac6e9caeb6797fb4ce0185245b4c4df (diff) | |
download | chat-4353e1fb978b70966800049cbf62088a53ab6df4.tar.gz chat-4353e1fb978b70966800049cbf62088a53ab6df4.tar.bz2 chat-4353e1fb978b70966800049cbf62088a53ab6df4.zip |
PLT-2989 Incoming webhooks available to all channels user is member of (#3082)
* Removed OPEN_CHANNEL check
* Added checks for each type of channel
* Added all channels display
Used onComponentUpdate, made code clearer
* Made requested changes
Diffstat (limited to 'webapp/components/backstage/add_incoming_webhook.jsx')
-rw-r--r-- | webapp/components/backstage/add_incoming_webhook.jsx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/webapp/components/backstage/add_incoming_webhook.jsx b/webapp/components/backstage/add_incoming_webhook.jsx index 3d86fe7c0..f698f2b13 100644 --- a/webapp/components/backstage/add_incoming_webhook.jsx +++ b/webapp/components/backstage/add_incoming_webhook.jsx @@ -172,6 +172,8 @@ export default class AddIncomingWebhook extends React.Component { id='channelId' value={this.state.channelId} onChange={this.updateChannelId} + selectOpen={true} + selectPrivate={true} /> </div> </div> |