style(home): format constructor for better readability
All checks were successful
CI / Get Changed Files (pull_request) Successful in 9s
CI / Checkstyle Main (pull_request) Has been skipped
CI / prettier (pull_request) Successful in 20s
CI / test-build (pull_request) Successful in 31s
CI / eslint (pull_request) Successful in 36s

This commit is contained in:
Jan-Marlon Leibl 2025-03-26 11:03:28 +01:00
parent af90108b3b
commit ce17741e72
Signed by: jleibl
GPG key ID: 300B2F906DC6F1D5

View file

@ -18,7 +18,10 @@ export default class HomeComponent implements OnInit {
isDepositModalOpen = false;
isDepositSuccessful = false;
constructor(public route: ActivatedRoute, public router: Router) {}
constructor(
public route: ActivatedRoute,
public router: Router
) {}
ngOnInit() {
this.isDepositSuccessful = this.route.snapshot.queryParams['success'] == 'true';