Skip to content

Commit 3557de7

Browse files
fix(ever-merchant): fixed errors during prod build
1 parent 59aa4b2 commit 3557de7

File tree

2 files changed

+3
-3
lines changed
  • merchant/tablet-ionic/src/components/settings-page-components/settings/payments

2 files changed

+3
-3
lines changed

merchant/tablet-ionic/src/components/settings-page-components/settings/payments/mutation/mutation.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export class PaymentMutationComponent {
2020
paymentGateway: PaymentGateways;
2121
currenciesCodes: string[] = [];
2222
paymentGateways = PaymentGateways;
23-
newConfigureObject = new Subject();
23+
newConfigureObject = new Subject<IPaymentGatewayCreateObject>();
2424
isValid: boolean;
2525

2626
constructor(
@@ -36,7 +36,7 @@ export class PaymentMutationComponent {
3636
} ${paymentGatewaysToString(this.paymentGateway)} gateway`;
3737
}
3838

39-
cancelModal(newConfigureObject: IPaymentGatewayCreateObject) {
39+
cancelModal(newConfigureObject?: Subject<IPaymentGatewayCreateObject>) {
4040
this.modalController.dismiss(newConfigureObject);
4141
}
4242

merchant/tablet-ionic/src/components/settings-page-components/settings/payments/stripe/stripe.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ export class StripeGatewayComponent implements OnInit, OnDestroy {
7272
this.configureObject.next(this.getConfigureObject());
7373
}
7474

75-
private onUrlChanges(isInvalid: boolean) {
75+
onUrlChanges(isInvalid: boolean) {
7676
this.invalidUrl = isInvalid;
7777
this.isValid = this.form.valid && !isInvalid;
7878
this.isValidChange.emit(this.isValid);

0 commit comments

Comments
 (0)