feat(home): add router to clear query parameters #88
1 changed files with 0 additions and 1 deletions
|
@ -23,7 +23,6 @@ export default class HomeComponent implements OnInit {
|
||||||
ngOnInit() {
|
ngOnInit() {
|
||||||
this.isDepositSuccessful = this.route.snapshot.queryParams['success'] == 'true';
|
this.isDepositSuccessful = this.route.snapshot.queryParams['success'] == 'true';
|
||||||
|
|
||||||
// Clear all query parameters without merging
|
|
||||||
this.router.navigate([], { queryParams: {} });
|
this.router.navigate([], { queryParams: {} });
|
||||||
|
|
||||||
if (this.isDepositSuccessful) {
|
if (this.isDepositSuccessful) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue