Commit d2031f62 authored by Olivia Madrid's avatar Olivia Madrid

fix scroll to cash settings

1 merge request!686WIP: Epic/wallet 80
Pipeline #117856586 failed with stages
in 12 minutes and 57 seconds
<div class="m-walletBalance--cash" *ngIf="!inProgress">
<div class="m-walletBalance---cash__onboardingNotice">
<p (click)="scrollToCashSettings.emit()">
<p (click)="scrollToSettings()">
<a>Add your bank information</a>
</p>
<p>Start receiving cash payouts by adding your bank details.</p>
......
......@@ -145,6 +145,11 @@ export class WalletBalanceCashComponent implements OnInit, OnDestroy {
return formattedBalance;
}
scrollToSettings() {
this.scrollToCashSettings.emit();
this.detectChanges();
}
detectChanges() {
this.cd.markForCheck();
this.cd.detectChanges();
......
Please register or to comment