1
Ex : I want to register(I’m working with Tadata)
My route today {path:entity/:identity/registration}
Where the identity is replaced dynamically when I click, for example: in the database register menu :
the route becomes = {path:entity/BANK/registry.
What I want to do add an id to each identity
if the identity is = bank then the bank corresponds to id 1 logo, id:1= bank.
I want the routes to stay that way:
{path:/direct/:id Componentregistration}
But I have to check id to know which register to open.
id:1= bank id:2=branch
if id is 1 the sera {path: direct/1)
if id is 2 the route sera {path:direct/2)
I need help 'cause I don’t know how.
I could not understand your doubt. Try to provide some code to be clearer
– Marcos Filipe