DEV: appEvent to close user card (#16253)

This commit is contained in:
Mark VanLandingham
2022-03-22 12:00:44 -05:00
committed by GitHub
parent 5d77f485cb
commit f0e87aa35f

View File

@@ -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();
},