mirror of
https://github.com/flarum/framework.git
synced 2025-01-31 14:11:01 +08:00
Catch promise reject when not logged in on reply
This commit is contained in:
parent
401c31a71d
commit
f347a45fd1
|
@ -33,7 +33,7 @@ export default class ReplyPlaceholder extends Component {
|
|||
}
|
||||
|
||||
const reply = () => {
|
||||
DiscussionControls.replyAction.call(this.attrs.discussion, true);
|
||||
DiscussionControls.replyAction.call(this.attrs.discussion, true).catch(() => {});
|
||||
};
|
||||
|
||||
return (
|
||||
|
|
Loading…
Reference in New Issue
Block a user