Skip to content

Commit b5c0740

Browse files
authored
Merge pull request #345 from com-pas/fix/344-username-is-not-shown
Fix: Username is not displayed closes #344
2 parents c289ef9 + 5ba0a68 commit b5c0740

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

.github/workflows/automate-projects.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,3 @@ jobs:
1919
project: CoMPAS Issues Overview Board
2020
column: To do
2121
repo-token: ${{ secrets.ORG_GITHUB_ACTION_SECRET }}
22-
- name: add-new-pull-request-to-organization-based-project-column
23-
if: (github.event_name == 'pull_request' || github.event_name == 'pull_request_target') && github.event.action == 'opened'
24-
uses: alex-page/github-project-automation-plus@v0.9.0
25-
with:
26-
project: CoMPAS Pull Request Overview Board
27-
column: To do
28-
repo-token: ${{ secrets.ORG_GITHUB_ACTION_SECRET }}

packages/compas-open-scd/src/addons/CompasLayout.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,8 @@ export class CompasLayout extends LitElement {
413413
}
414414
);
415415

416-
this.addEventListener('userinfo', this.onUserInfo);
416+
this.onUserInfo = this.onUserInfo.bind(this);
417+
this.host.addEventListener('userinfo', this.onUserInfo);
417418
}
418419

419420
private onUserInfo(event: UserInfoEvent) {

0 commit comments

Comments
 (0)