0

I am trying to understand the necessary changes to make in a generated jhipster app to replace the NgbModals with elements displayed in a page. I was able to find some help on doing this in older Jhipster versions with angular 1.x but I am unable to make the changes in Jhipster v4.0.2 and angular 2. I tried repurposing the detail component and map it to the route -new path (for add new record), but getting an error for undefined "id" parameter. I am looking for some pointers for the approach to take for solving this problem.

Thank you !

Community
  • 1
  • 1
  • Show some code; in particular what you modified in your routes. – Gaël Marziou Feb 13 '17 at 09:49
  • @GaëlMarziou. I apologize for the delayed response. [link] (https://gist.github.com/udaystartup/859e533f96de83bfda116d6261d6884e) address-type-route.ts [link](https://gist.github.com/udaystartup/edbf39309bd9c34ca1bee797afd1be5f) address-type.component.html and [link](https://gist.github.com/udaystartup/f8000954d2f90c4af6fcce774b0690e4) address-type.create.component.ts. The save is working fine, the edit and automatically navigating to the list of address-types is not working as I want it to. I am fairly new to angular 2 and trying to tweak code to understand the working. – udaydev Feb 19 '17 at 21:32
  • Have you tried setting `pathMatch: full` on some of your routes? – Gaël Marziou Feb 19 '17 at 22:31

0 Answers0