mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46:12 +01:00
fix: lang key, type has _, lang keys changed to use -
This commit is contained in:
@@ -178,7 +178,7 @@ async function getNotificationSettings(userData) {
|
||||
const setting = userData.settings[type];
|
||||
return {
|
||||
name: type,
|
||||
label: `[[notifications:${type}]]`,
|
||||
label: `[[notifications:${type.replace(/_/g, '-')}]]`,
|
||||
none: setting === 'none',
|
||||
notification: setting === 'notification',
|
||||
email: setting === 'email',
|
||||
|
||||
Reference in New Issue
Block a user