mirror of
https://github.com/flarum/core.git
synced 2025-07-20 00:01:17 +02:00
Catch promise reject when not logged in on reply
This commit is contained in:
@@ -33,7 +33,7 @@ export default class ReplyPlaceholder extends Component {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const reply = () => {
|
const reply = () => {
|
||||||
DiscussionControls.replyAction.call(this.attrs.discussion, true);
|
DiscussionControls.replyAction.call(this.attrs.discussion, true).catch(() => {});
|
||||||
};
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
Reference in New Issue
Block a user