mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
@@ -33,6 +33,7 @@ export default function(name, opts) {
|
||||
this.registry.register("current-user:main", this.currentUser, {
|
||||
instantiate: false
|
||||
});
|
||||
this.registry.injection("component", "currentUser", "current-user:main");
|
||||
this.registry.register(
|
||||
"topic-tracking-state:main",
|
||||
TopicTrackingState.create({ currentUser }),
|
||||
|
||||
Reference in New Issue
Block a user