Error for abandon operations as well

This commit is contained in:
Oleg Silkin 2020-01-28 17:34:28 -05:00
parent 50528607e7
commit 4b4217879c
2 changed files with 10 additions and 0 deletions

4
dist/bundle.es.js vendored
View file

@ -4322,6 +4322,10 @@ function doCommentAbandon(comment_id) {
dispatch({ dispatch({
type: COMMENT_ABANDON_FAILED type: COMMENT_ABANDON_FAILED
}); });
dispatch(doToast({
message: 'Your channel is still being setup, try again in a few moments.',
isError: true
}));
} }
}).catch(error => { }).catch(error => {
dispatch({ dispatch({

View file

@ -135,6 +135,12 @@ export function doCommentAbandon(comment_id: string) {
dispatch({ dispatch({
type: ACTIONS.COMMENT_ABANDON_FAILED, type: ACTIONS.COMMENT_ABANDON_FAILED,
}); });
dispatch(
doToast({
message: 'Your channel is still being setup, try again in a few moments.',
isError: true,
})
);
} }
}) })
.catch(error => { .catch(error => {