Unsubscribe when dismissing during wrap up (#8909)

This commit is contained in:
J. Nick Koston 2021-04-13 08:18:37 -10:00 committed by GitHub
parent 62a0cfb0f6
commit 445ae156ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -96,7 +96,9 @@ export default <T extends Constructor<HassBaseEl>>(superClass: T) =>
action: {
text:
this.hass!.localize("ui.notification_toast.dismiss") || "Dismiss",
action: () => {},
action: () => {
this._unsubscribeBootstrapIntergrations();
},
},
});
return;