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
1 changed files with 3 additions and 0 deletions

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