We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c289ef9 commit 1f77eb9Copy full SHA for 1f77eb9
packages/compas-open-scd/src/addons/CompasLayout.ts
@@ -413,7 +413,8 @@ export class CompasLayout extends LitElement {
413
}
414
);
415
416
- this.addEventListener('userinfo', this.onUserInfo);
+ this.onUserInfo = this.onUserInfo.bind(this);
417
+ this.host.addEventListener('userinfo', this.onUserInfo);
418
419
420
private onUserInfo(event: UserInfoEvent) {
0 commit comments