diff options
Diffstat (limited to 'webapp/actions/channel_actions.jsx')
-rw-r--r-- | webapp/actions/channel_actions.jsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/webapp/actions/channel_actions.jsx b/webapp/actions/channel_actions.jsx index 322ee8160..3f4ab210d 100644 --- a/webapp/actions/channel_actions.jsx +++ b/webapp/actions/channel_actions.jsx @@ -432,10 +432,10 @@ export function createChannel(channel, success, error) { } }, (err) => { - AsyncClient.dispatchError(err, 'createChannel'); - if (error) { error(err); + } else { + AsyncClient.dispatchError(err, 'createChannel'); } } ); |