Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Same Daynamic routes issue #436

Open
hardeep-bit opened this issue Jan 6, 2018 · 0 comments
Open

Same Daynamic routes issue #436

hardeep-bit opened this issue Jan 6, 2018 · 0 comments

Comments

@hardeep-bit
Copy link

I have set the same dynamic routes i.e :firstRoute and :secondRoute.

 [{
        path: ':one', component: ViewOneComponent
},{
        path: ':two', component: ViewTwoComponent
}]

these both are the child of one main (component) Route and i have set the values when they are fetch from back end API
and set into these DYNAMIC paths ( main route children ) in Route Class.

Now what I am getting is the same component ( first name Component ) even on different child name of routes in main route .

what i want is they should go to different component.

I have set the value in routing class now they should refer to Different component. Not to the same component.

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

No branches or pull requests

1 participant