CCExtractor / sample-platform-v2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Redirect on test entry creation

zelzhan opened this issue · comments

When user creates the test-entry, he will stay on the same page. He should be notified that he successfully created test entry and be redirected to the home page or to the same page.

One should implement the logic in libs/frontend/test-entry/src/lib/components/create-test-entry/create-test-entry.component.ts by injecting the router in constructor and calling router.navigate. See https://angular.io/guide/router for more details.