mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 12:42:57 +08:00
Use unreadCount in title
This commit is contained in:
parent
f5e27fe2c8
commit
c1528e598f
|
@ -82,7 +82,7 @@ export default Discourse.Controller.extend({
|
||||||
bodyParts.push(I18n.t(self.i18nKey(n), i18nOpts));
|
bodyParts.push(I18n.t(self.i18nKey(n), i18nOpts));
|
||||||
});
|
});
|
||||||
|
|
||||||
const notificationTitle = I18n.t('notifications.popup_title', { count: unseenCount, site_title: Discourse.SiteSettings.title });
|
const notificationTitle = I18n.t('notifications.popup_title', { count: unreadCount, site_title: Discourse.SiteSettings.title });
|
||||||
const notificationBody = bodyParts.join("\n");
|
const notificationBody = bodyParts.join("\n");
|
||||||
const notificationIcon = Discourse.SiteSettings.logo_small_url || Discourse.SiteSettings.logo_url;
|
const notificationIcon = Discourse.SiteSettings.logo_small_url || Discourse.SiteSettings.logo_url;
|
||||||
const notificationTag = self.get('notificationTagName');
|
const notificationTag = self.get('notificationTagName');
|
||||||
|
|
Loading…
Reference in New Issue
Block a user