mirror of
https://github.com/flarum/framework.git
synced 2025-01-20 19:05:32 +08:00
Adjust ID key name
- Adjusts the key for the "Follow after reply" setting.
This commit is contained in:
parent
2c10a42d6b
commit
45832485d1
|
@ -152,7 +152,7 @@ System.register('flarum/subscriptions/addSubscriptionSettings', ['flarum/extend'
|
||||||
_export('default', function () {
|
_export('default', function () {
|
||||||
extend(SettingsPage.prototype, 'notificationsItems', function (items) {
|
extend(SettingsPage.prototype, 'notificationsItems', function (items) {
|
||||||
items.add('followAfterReply', Switch.component({
|
items.add('followAfterReply', Switch.component({
|
||||||
children: app.translator.trans('flarum-subscriptions.forum.settings.forum_follow_after_reply_label'),
|
children: app.translator.trans('flarum-subscriptions.forum.settings.follow_after_reply_label'),
|
||||||
state: this.user.preferences().followAfterReply,
|
state: this.user.preferences().followAfterReply,
|
||||||
onchange: this.preferenceSaver('followAfterReply')
|
onchange: this.preferenceSaver('followAfterReply')
|
||||||
}));
|
}));
|
||||||
|
|
|
@ -8,7 +8,7 @@ export default function() {
|
||||||
extend(SettingsPage.prototype, 'notificationsItems', function(items) {
|
extend(SettingsPage.prototype, 'notificationsItems', function(items) {
|
||||||
items.add('followAfterReply',
|
items.add('followAfterReply',
|
||||||
Switch.component({
|
Switch.component({
|
||||||
children: app.translator.trans('flarum-subscriptions.forum.settings.forum_follow_after_reply_label'),
|
children: app.translator.trans('flarum-subscriptions.forum.settings.follow_after_reply_label'),
|
||||||
state: this.user.preferences().followAfterReply,
|
state: this.user.preferences().followAfterReply,
|
||||||
onchange: this.preferenceSaver('followAfterReply')
|
onchange: this.preferenceSaver('followAfterReply')
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue
Block a user