mirror of
https://github.com/discourse/discourse.git
synced 2024-11-29 12:13:58 -06:00
FIX: Error showing Unread
posts
This commit is contained in:
parent
3ba6d54843
commit
f427b6639b
@ -34,6 +34,7 @@ export default {
|
||||
app.register('message-bus:main', window.MessageBus, { instantiate: false });
|
||||
injectAll(app, 'messageBus');
|
||||
|
||||
app.register('current-user:main', Discourse.User.current(), { instantiate: false });
|
||||
app.register('topic-tracking-state:main', TopicTrackingState.current(), { instantiate: false });
|
||||
injectAll(app, 'topicTrackingState');
|
||||
|
||||
@ -50,7 +51,6 @@ export default {
|
||||
app.register('session:main', Session.current(), { instantiate: false });
|
||||
injectAll(app, 'session');
|
||||
|
||||
app.register('current-user:main', Discourse.User.current(), { instantiate: false });
|
||||
inject(app, 'currentUser', 'component', 'route', 'controller');
|
||||
|
||||
app.register('location:discourse-location', DiscourseLocation);
|
||||
|
Loading…
Reference in New Issue
Block a user