mirror of
https://github.com/flarum/framework.git
synced 2024-12-12 14:13:37 +08:00
Fix bad translation key
This commit is contained in:
parent
f304daff43
commit
e23eefb2c0
|
@ -131,7 +131,7 @@ export default class SettingsPage extends UserPage {
|
||||||
|
|
||||||
items.add('discloseOnline',
|
items.add('discloseOnline',
|
||||||
Switch.component({
|
Switch.component({
|
||||||
children: app.trans('disclose_online'),
|
children: app.trans('core.disclose_online'),
|
||||||
state: this.user.preferences().discloseOnline,
|
state: this.user.preferences().discloseOnline,
|
||||||
onchange: (value, component) => {
|
onchange: (value, component) => {
|
||||||
this.user.pushAttributes({lastSeenTime: null});
|
this.user.pushAttributes({lastSeenTime: null});
|
||||||
|
|
Loading…
Reference in New Issue
Block a user