Skip to content

Commit

Permalink
PLT-5863 Fixing double display of error message (mattermost#6104)
Browse files Browse the repository at this point in the history
  • Loading branch information
coreyhulen authored and crspeller committed Apr 17, 2017
1 parent d785627 commit d8e65b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions actions/channel_actions.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -432,10 +432,10 @@ export function createChannel(channel, success, error) {
}
},
(err) => {
AsyncClient.dispatchError(err, 'createChannel');

if (error) {
error(err);
} else {
AsyncClient.dispatchError(err, 'createChannel');
}
}
);
Expand Down

0 comments on commit d8e65b1

Please sign in to comment.