1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-12-21 16:18:28 +01:00

emit openChange when toggling (#4237)

This commit is contained in:
Will Martin 2022-12-16 08:46:33 -05:00 committed by GitHub
parent f3ee9b016a
commit 94b1a7743d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -29,5 +29,6 @@ export class OrgSwitcherComponent {
protected toggle(event?: MouseEvent) {
event?.stopPropagation();
this.open = !this.open;
this.openChange.emit(this.open);
}
}

View File

@ -42,6 +42,7 @@ export class NavGroupComponent extends NavBaseComponent implements AfterContentI
protected toggle(event?: MouseEvent) {
event?.stopPropagation();
this.open = !this.open;
this.openChange.emit(this.open);
}
/**