mirror of
https://github.com/discourse/discourse.git
synced 2024-11-29 12:13:58 -06:00
DEV: appEvent to close user card (#16253)
This commit is contained in:
parent
5d77f485cb
commit
f0e87aa35f
@ -126,6 +126,8 @@ export default Mixin.create({
|
||||
this,
|
||||
"_topicHeaderTrigger"
|
||||
);
|
||||
|
||||
this.appEvents.on("card:close", this, "_close");
|
||||
},
|
||||
|
||||
@bind
|
||||
@ -334,6 +336,7 @@ export default Mixin.create({
|
||||
"_topicHeaderTrigger"
|
||||
);
|
||||
|
||||
this.appEvents.off("card:close", this, "_close");
|
||||
this._hide();
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user