mirror of
https://github.com/flarum/core.git
synced 2025-08-05 16:07:34 +02:00
Format
This commit is contained in:
committed by
Franz Liedke
parent
2673dd2ee3
commit
6e7c86ac50
@@ -167,7 +167,7 @@ export default class IndexPage extends Page {
|
||||
onclick: () => {
|
||||
// If the user is not logged in, the promise rejects, and a login modal shows up.
|
||||
// Since that's already handled, we dont need to show an error message in the console.
|
||||
return this.newDiscussionAction().catch(() => { });
|
||||
return this.newDiscussionAction().catch(() => {});
|
||||
},
|
||||
disabled: !canStartDiscussion,
|
||||
},
|
||||
|
@@ -61,7 +61,7 @@ export default {
|
||||
onclick: () => {
|
||||
// If the user is not logged in, the promise rejects, and a login modal shows up.
|
||||
// Since that's already handled, we dont need to show an error message in the console.
|
||||
return this.replyAction(discussion, true, false).catch(() => { });
|
||||
return this.replyAction(discussion, true, false).catch(() => {});
|
||||
},
|
||||
},
|
||||
app.translator.trans(
|
||||
|
Reference in New Issue
Block a user