Redirect on sample upload
zelzhan opened this issue · comments
Elzhan commented
Right now, if the user uploads the sample, it will stay on the same page with the disabled button. It should redirect user to the home page or to the same page with an enabled button and notification whether the sample has been uploaded successfully
Elzhan commented
One should implement the logic in libs/frontend/samples/src/lib/components/dialog/dialog.component.ts
by injecting the router in constructor and calling router.navigate. See https://angular.io/guide/router for more details.