tickera-angular-components 0.0.1-dev.100 → 0.0.1-dev.101

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -8340,7 +8340,6 @@ class OrderInformationComponent {
8340
8340
  this.toastService = toastService;
8341
8341
  }
8342
8342
  get showMpButton() {
8343
- console.log(this.showPayButton, this.createMpPreference);
8344
8343
  if (!this.showPayButton || !this.createMpPreference) {
8345
8344
  return false;
8346
8345
  }
@@ -8356,10 +8355,7 @@ class OrderInformationComponent {
8356
8355
  this.createMpPreference(this.order).subscribe({
8357
8356
  next: (preference) => {
8358
8357
  this.isLoading = false;
8359
- if (preference?.init_point) {
8360
- window.open(preference.init_point, '_blank');
8361
- }
8362
- this.paymentLinkCreated.emit(this.order);
8358
+ this.paymentLinkCreated.emit(preference);
8363
8359
  },
8364
8360
  error: (error) => {
8365
8361
  this.isLoading = false;