Show sidebar on a particular corner with angle

Asked

Viewed 22 times

0

I want to show a Component that contains sidebar on a particular daughter route of 'patients', which gets id 'patient/Detail/:id', if I put the same way that is in the routing module does not work.

inserir a descrição da imagem aqui

How can I return the route that gets an id in the 'Showsidebarmenu' method()'?

inserir a descrição da imagem aqui

  • 1

    You can use a service to hide/show the sidebar from another component. https://stackoverflow.com/questions/40468172/how-to-share-data-between-components-using-a-service-properly

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.