Skip to content
Permalink
Browse files

fix(ever-merchant): fixed errors during prod build

  • Loading branch information...
AlishMekliov931 committed Aug 7, 2019
1 parent 59aa4b2 commit 3557de785bc69985166250c3ccf6746771f71989
@@ -20,7 +20,7 @@ export class PaymentMutationComponent {
paymentGateway: PaymentGateways;
currenciesCodes: string[] = [];
paymentGateways = PaymentGateways;
newConfigureObject = new Subject();
newConfigureObject = new Subject<IPaymentGatewayCreateObject>();
isValid: boolean;

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

cancelModal(newConfigureObject: IPaymentGatewayCreateObject) {
cancelModal(newConfigureObject?: Subject<IPaymentGatewayCreateObject>) {
this.modalController.dismiss(newConfigureObject);
}

@@ -72,7 +72,7 @@ export class StripeGatewayComponent implements OnInit, OnDestroy {
this.configureObject.next(this.getConfigureObject());
}

private onUrlChanges(isInvalid: boolean) {
onUrlChanges(isInvalid: boolean) {
this.invalidUrl = isInvalid;
this.isValid = this.form.valid && !isInvalid;
this.isValidChange.emit(this.isValid);

0 comments on commit 3557de7

Please sign in to comment.
You can’t perform that action at this time.