Skip to content

Commit

Permalink
fix(sidebar): emit expand event when expanded because of menu c… (#1897)
Browse files Browse the repository at this point in the history
  • Loading branch information
yggg committed Oct 14, 2019
1 parent e6b19a5 commit a07487d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ export class NbSidebarComponent implements OnChanges, OnInit, OnDestroy {
const link = this.getMenuLink(event.target);

if (link && link.nextElementSibling && link.nextElementSibling.classList.contains('menu-items')) {
this.expand();
this.sidebarService.expand(this.tag);
}
}
}
Expand Down

0 comments on commit a07487d

Please sign in to comment.