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({
|
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({
|
||||||
|
|
|
@ -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 => {
|
||||||
|
|
Loading…
Reference in a new issue