Error for abandon operations as well
This commit is contained in:
parent
50528607e7
commit
4b4217879c
2 changed files with 10 additions and 0 deletions
4
dist/bundle.es.js
vendored
4
dist/bundle.es.js
vendored
|
@ -4322,6 +4322,10 @@ function doCommentAbandon(comment_id) {
|
|||
dispatch({
|
||||
type: COMMENT_ABANDON_FAILED
|
||||
});
|
||||
dispatch(doToast({
|
||||
message: 'Your channel is still being setup, try again in a few moments.',
|
||||
isError: true
|
||||
}));
|
||||
}
|
||||
}).catch(error => {
|
||||
dispatch({
|
||||
|
|
|
@ -135,6 +135,12 @@ export function doCommentAbandon(comment_id: string) {
|
|||
dispatch({
|
||||
type: ACTIONS.COMMENT_ABANDON_FAILED,
|
||||
});
|
||||
dispatch(
|
||||
doToast({
|
||||
message: 'Your channel is still being setup, try again in a few moments.',
|
||||
isError: true,
|
||||
})
|
||||
);
|
||||
}
|
||||
})
|
||||
.catch(error => {
|
||||
|
|
Loading…
Reference in a new issue