1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-10 05:13:29 +00: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
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);
}
/**