feat(home): add router to clear query parameters #88

Merged
jleibl merged 3 commits from task/remove_success_url_parameter into main 2025-03-26 10:04:24 +00:00
Showing only changes of commit af90108b3b - Show all commits

refactor(home): remove unnecessary comment from code
Some checks failed
CI / Get Changed Files (pull_request) Successful in 17s
CI / Checkstyle Main (pull_request) Has been skipped
CI / prettier (pull_request) Failing after 39s
CI / eslint (pull_request) Successful in 42s
CI / test-build (pull_request) Successful in 38s

Jan-Marlon Leibl 2025-03-26 11:00:43 +01:00
Signed by: jleibl
GPG key ID: 300B2F906DC6F1D5

View file

@ -23,7 +23,6 @@ export default class HomeComponent implements OnInit {
ngOnInit() {
this.isDepositSuccessful = this.route.snapshot.queryParams['success'] == 'true';
// Clear all query parameters without merging
this.router.navigate([], { queryParams: {} });
if (this.isDepositSuccessful) {