Commit ef1b783c125f0552e02085c6f13efc37073f1753
1 parent
192b6d09a2
Exists in
develop
corrijo MR
Showing
3 changed files
with
2 additions
and
6 deletions
 
Show diff stats
src/app/shared/confirmacion/confirmacion.component.html
| ... | ... | @@ -23,7 +23,7 @@ | 
| 23 | 23 | <div class="col-4"> | 
| 24 | 24 | <div | 
| 25 | 25 | class="mx-0" | 
| 26 | - (click)="confirmarArticulo(true)"> | |
| 26 | + (click)="confirmarArticulo()"> | |
| 27 | 27 | <div class="col-auto bg-white badge-pill"> | 
| 28 | 28 | <div class="row justify-content-between"> | 
| 29 | 29 | <div *ngIf="footerConfirmation" class="col-auto px-0 align-self-center text-primary pl-3"> | 
src/app/shared/confirmacion/confirmacion.component.ts
| ... | ... | @@ -19,7 +19,6 @@ export class ConfirmacionComponent implements OnInit { | 
| 19 | 19 | |
| 20 | 20 | constructor( | 
| 21 | 21 | public modalRef: BsModalRef, | 
| 22 | - private articuloService: ArticuloService, | |
| 23 | 22 | private inactiveScreen: InactiveScreenService, | 
| 24 | 23 | ) { | 
| 25 | 24 | this.onClose = new Subject(); | 
| ... | ... | @@ -28,7 +27,7 @@ export class ConfirmacionComponent implements OnInit { | 
| 28 | 27 | ngOnInit() { | 
| 29 | 28 | } | 
| 30 | 29 | |
| 31 | - confirmarArticulo(value) { | |
| 30 | + confirmarArticulo() { | |
| 32 | 31 | this.onClose.next(); | 
| 33 | 32 | this.modalRef.hide(); | 
| 34 | 33 | } | 
src/app/shared/header-publicidad/header-publicidad.component.ts
| ... | ... | @@ -17,7 +17,6 @@ export class HeaderPublicidadComponent implements OnInit { | 
| 17 | 17 | urlImagenes = `${APP_SETTINGS.apiDeboSuite}/imagenes/`; | 
| 18 | 18 | publicidades: IPublicidad[] = []; | 
| 19 | 19 | modalRef: BsModalRef; | 
| 20 | - template: any; | |
| 21 | 20 | |
| 22 | 21 | constructor( | 
| 23 | 22 | private publicidadService: PublicidadService, | 
| ... | ... | @@ -80,8 +79,6 @@ export class HeaderPublicidadComponent implements OnInit { | 
| 80 | 79 | articulo.cantidad = 1; | 
| 81 | 80 | this.articuloService.setArticulo(articulo); | 
| 82 | 81 | }); | 
| 83 | - | |
| 84 | - | |
| 85 | 82 | } | 
| 86 | 83 | |
| 87 | 84 | } |