mirror of
https://github.com/flarum/core.git
synced 2025-08-11 10:55:47 +02:00
Add notifications to HeaderSecondary
This commit is contained in:
committed by
Franz Liedke
parent
524dde31d4
commit
fe011bf285
@@ -65,7 +65,7 @@ export default class HeaderSecondary extends Component {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (app.session.user) {
|
if (app.session.user) {
|
||||||
// items.add('notifications', NotificationsDropdown.component({ state: app.notifications }), 10);
|
items.add('notifications', NotificationsDropdown.component({ state: app.notifications }), 10);
|
||||||
// items.add('session', SessionDropdown.component(), 0);
|
// items.add('session', SessionDropdown.component(), 0);
|
||||||
} else {
|
} else {
|
||||||
if (app.forum.attribute('allowSignUp')) {
|
if (app.forum.attribute('allowSignUp')) {
|
||||||
|
Reference in New Issue
Block a user