Skip to content
This repository has been archived by the owner on Jun 16, 2021. It is now read-only.

Redirect on sample upload #26

Open
zelzhan opened this issue Aug 31, 2020 · 1 comment
Open

Redirect on sample upload #26

zelzhan opened this issue Aug 31, 2020 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@zelzhan
Copy link
Collaborator

zelzhan commented Aug 31, 2020

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

@zelzhan zelzhan added enhancement New feature or request good first issue Good for newcomers labels Aug 31, 2020
@zelzhan zelzhan mentioned this issue Aug 31, 2020
@zelzhan
Copy link
Collaborator Author

zelzhan commented Sep 6, 2020

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant