diff --git a/src/app/savings/edit-savings-account/edit-savings-account.component.html b/src/app/savings/edit-savings-account/edit-savings-account.component.html index f262b50d0..35421b324 100644 --- a/src/app/savings/edit-savings-account/edit-savings-account.component.html +++ b/src/app/savings/edit-savings-account/edit-savings-account.component.html @@ -120,6 +120,7 @@ [savingsAccount]="savingsAccount" [savingsAccountDigital]="savingsAccountDigital" [savingsAccountNominees]="savingsAccountCurrencyStep?.nominees ?? []" + [hideButtons]="true" (submitEvent)="submit()" > diff --git a/src/app/savings/savings-account-stepper/savings-account-preview-step/savings-account-preview-step.component.html b/src/app/savings/savings-account-stepper/savings-account-preview-step/savings-account-preview-step.component.html index c261103a1..40d77d84a 100644 --- a/src/app/savings/savings-account-stepper/savings-account-preview-step/savings-account-preview-step.component.html +++ b/src/app/savings/savings-account-stepper/savings-account-preview-step/savings-account-preview-step.component.html @@ -581,12 +581,14 @@ mat-stepper. Re-introducing matStepperPrevious here would require a CdkStepper ancestor and would crash the view on init. --> -
- - -
+@if (!hideButtons) { +
+ + +
+} diff --git a/src/app/savings/savings-account-stepper/savings-account-preview-step/savings-account-preview-step.component.ts b/src/app/savings/savings-account-stepper/savings-account-preview-step/savings-account-preview-step.component.ts index 8ca52d826..8f2cea945 100644 --- a/src/app/savings/savings-account-stepper/savings-account-preview-step/savings-account-preview-step.component.ts +++ b/src/app/savings/savings-account-stepper/savings-account-preview-step/savings-account-preview-step.component.ts @@ -92,6 +92,8 @@ export class SavingsAccountPreviewStepComponent implements OnChanges { @Input() savingsAccountNominees: any[] = []; /** active Client Members in case of GSIM Account */ @Input() activeClientMembers?: any; + /** Hide internal Cancel/Submit buttons when parent provides its own action bar */ + @Input() hideButtons = false; /** Table Data Source */ dataSource: any;