Component not being initialized after I have navigated to it [closed]

Discussão em 'Angular' iniciado por Yash Shinde, Janeiro 14, 2025.

  1. Yash Shinde

    Yash Shinde Guest

    I have an angular app in which I just implemented some new functionality for SSO. This is mostly just some REST Api calls and an extra cookie to an already working application. I finished coding everything and to my surprise the application does not navigate to the homepage.On successful login it doest even call the onInit method of the homepage. No matter how I debug it , I cannot seem to find any errors . There are no template errors shown even with ErrorInterceptor , No issues with routing - navigation start and end work perfectly. Even the zone.js methods show successful navigation , the homepage component is never navigated to . The only components that is navigated to is the login component that is usually the first component everyone gets to see. I have tried as much as I could but just couldnt debug it . Is there any way to atleast figure out what the problem could be ? I have even tried using Augury but to no avail. All my components are working fine.

    Continue reading...

Compartilhe esta Página