From 1766f657fe5accd34f77976daf132335d1eb1a93 Mon Sep 17 00:00:00 2001 From: Eduardo Quiros Date: Wed, 11 Aug 2021 18:39:20 -0600 Subject: [PATCH] remove debuggers --- .../encuesta-finalizar-dialog.component.ts | 1 - .../encuesta-publish-dialog.component.ts | 1 - .../webapp/app/entities/factura/service/factura.service.ts | 1 - .../entities/tienda/paypal-dialog/paypal-dialog.component.ts | 3 --- src/main/webapp/app/shared/pipes/filter.ts | 1 - 5 files changed, 7 deletions(-) diff --git a/src/main/webapp/app/entities/encuesta/encuesta-finalizar-dialog/encuesta-finalizar-dialog.component.ts b/src/main/webapp/app/entities/encuesta/encuesta-finalizar-dialog/encuesta-finalizar-dialog.component.ts index eef9f2e..f9a188a 100644 --- a/src/main/webapp/app/entities/encuesta/encuesta-finalizar-dialog/encuesta-finalizar-dialog.component.ts +++ b/src/main/webapp/app/entities/encuesta/encuesta-finalizar-dialog/encuesta-finalizar-dialog.component.ts @@ -19,7 +19,6 @@ export class EncuestaFinalizarDialogComponent implements OnInit { ngOnInit(): void {} confirmFinalizar(encuesta: IEncuesta): void { - debugger; const now = dayjs(); encuesta.estado = EstadoEncuesta.FINISHED; diff --git a/src/main/webapp/app/entities/encuesta/encuesta-publish-dialog/encuesta-publish-dialog.component.ts b/src/main/webapp/app/entities/encuesta/encuesta-publish-dialog/encuesta-publish-dialog.component.ts index 1bd7127..a2d9082 100644 --- a/src/main/webapp/app/entities/encuesta/encuesta-publish-dialog/encuesta-publish-dialog.component.ts +++ b/src/main/webapp/app/entities/encuesta/encuesta-publish-dialog/encuesta-publish-dialog.component.ts @@ -107,7 +107,6 @@ export class EncuestaPublishDialogComponent implements OnInit { fechaFinalizacionIsInvalid(fechaFinalizar: dayjs.Dayjs, fechaPublicacion: dayjs.Dayjs): boolean { let numberDays: number; - debugger; numberDays = fechaFinalizar?.diff(fechaPublicacion, 'days'); diff --git a/src/main/webapp/app/entities/factura/service/factura.service.ts b/src/main/webapp/app/entities/factura/service/factura.service.ts index 2f236c9..07ed844 100644 --- a/src/main/webapp/app/entities/factura/service/factura.service.ts +++ b/src/main/webapp/app/entities/factura/service/factura.service.ts @@ -19,7 +19,6 @@ export class FacturaService { constructor(protected http: HttpClient, protected applicationConfigService: ApplicationConfigService) {} create(factura: IFactura): Observable { - debugger; const copy = this.convertDateFromClient(factura); return this.http .post(this.resourceUrl, copy, { observe: 'response' }) diff --git a/src/main/webapp/app/entities/tienda/paypal-dialog/paypal-dialog.component.ts b/src/main/webapp/app/entities/tienda/paypal-dialog/paypal-dialog.component.ts index 9cd5f42..d04dc09 100644 --- a/src/main/webapp/app/entities/tienda/paypal-dialog/paypal-dialog.component.ts +++ b/src/main/webapp/app/entities/tienda/paypal-dialog/paypal-dialog.component.ts @@ -106,7 +106,6 @@ export class PaypalDialogComponent implements OnInit { }); }, onClientAuthorization: data => { - debugger; console.log('onClientAuthorization - you should probably inform your server about completed transaction at this point', data); this.updateUser(); this.sendReceipt(); @@ -119,7 +118,6 @@ export class PaypalDialogComponent implements OnInit { } getUser(): void { - debugger; // Get jhi_user and usuario_extra information if (this.account !== null) { this.usuarioExtraService.find(this.account.id).subscribe(usuarioExtra => { @@ -138,7 +136,6 @@ export class PaypalDialogComponent implements OnInit { sendReceipt(): void { const now = dayjs(); - debugger; this.factura = { nombreUsuario: String(this.usuarioExtra?.id!), nombrePlantilla: this.plantilla?.nombre!, diff --git a/src/main/webapp/app/shared/pipes/filter.ts b/src/main/webapp/app/shared/pipes/filter.ts index 9c3ca6a..3743369 100644 --- a/src/main/webapp/app/shared/pipes/filter.ts +++ b/src/main/webapp/app/shared/pipes/filter.ts @@ -6,7 +6,6 @@ import { Pipe, PipeTransform, Injectable } from '@angular/core'; @Injectable() export class FilterPipe implements PipeTransform { transform(items: any[], field: string, value: string): any[] { - debugger; if (!items) { return []; }