Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disabling the Sidebar on selected pages #85

Open
AmerikM opened this issue Jan 9, 2020 · 1 comment
Open

Disabling the Sidebar on selected pages #85

AmerikM opened this issue Jan 9, 2020 · 1 comment
Assignees

Comments

@AmerikM
Copy link

AmerikM commented Jan 9, 2020

Hello, Ive had trouble to disable the sidebar on certain pages. Im trying to hide it on the html with the ngIF, but cant see a correct way to disable it and then re-enable it when needed.

Could you guys point me on the right track?

For example, Ive made my own integration of login page, therefore i dont need the sidebar appearing before my user is logged. I have the corresponding boolean to check and verify is the user is logged.
How do i toogle the sidebar for this to work.

@chelaruc chelaruc self-assigned this Jan 13, 2020
@chelaruc
Copy link
Contributor

Hi, @AmerikM. Thank you for using our product. You need to have two layouts for this, one for the Auth pages and one for the Dashboard. Best, Ciprian

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants