mirror of
https://github.com/flarum/framework.git
synced 2024-11-28 11:34:36 +08:00
Fix the double correction
- Fixes one mangled app.translator call.
This commit is contained in:
parent
49d59089e4
commit
659cfb72ad
|
@ -55,7 +55,7 @@ export default {
|
|||
!app.session.user || discussion.canReply()
|
||||
? Button.component({
|
||||
icon: 'reply',
|
||||
children: app.translator.translator.trans(app.session.user ? 'core.forum.discussion_controls.reply_button' : 'core.forum.discussion_controls.log_in_to_reply_button'),
|
||||
children: app.translator.trans(app.session.user ? 'core.forum.discussion_controls.reply_button' : 'core.forum.discussion_controls.log_in_to_reply_button'),
|
||||
onclick: this.replyAction.bind(discussion, true, false)
|
||||
})
|
||||
: Button.component({
|
||||
|
|
Loading…
Reference in New Issue
Block a user