ngx-rocket / generator-ngx-rocket

:rocket: Extensible Angular 14+ enterprise-grade project generator
https://ngx-rocket.github.io/
MIT License
1.53k stars 216 forks source link

fix: do not close sidenave when undefined #636

Open RyanTimin opened 1 year ago

RyanTimin commented 1 year ago

The sidenave is only available in the reduced version of the nav bar. When loading the page without the sidenav child, an error occurs : "shell.component.ts:27 ERROR TypeError: Cannot read properties of undefined (reading 'close')".