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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -126,6 +126,8 @@ export default Mixin.create({
this, this,
"_topicHeaderTrigger" "_topicHeaderTrigger"
); );
this.appEvents.on("card:close", this, "_close");
}, },
@bind @bind
@ -334,6 +336,7 @@ export default Mixin.create({
"_topicHeaderTrigger" "_topicHeaderTrigger"
); );
this.appEvents.off("card:close", this, "_close");
this._hide(); this._hide();
}, },