and im trying to access vendor branches route
for navigating to edit vendor route everything works fine
but when im trying to get the pathParam.inherit('vendor-id') after using appRouter.navigate(VendorBranchesRoute())
it shows me an error
"Failed to parse [String] vendor-id value from null"
and it also navigates me to "/dashboard/vendors/:vendor-id/branches"
note that :vendor-id is not the actual id
it tried using appRouter.push .. but nothing different
i have these routes
and im trying to access vendor branches route for navigating to edit vendor route everything works fine
but when im trying to get the pathParam.inherit('vendor-id') after using appRouter.navigate(VendorBranchesRoute()) it shows me an error "Failed to parse [String] vendor-id value from null" and it also navigates me to "/dashboard/vendors/:vendor-id/branches" note that :vendor-id is not the actual id
it tried using appRouter.push .. but nothing different