Commit 1aea015d1c53af5fa726cbad0cddaa8037914f51

Authored by Marcelo Puebla
1 parent 0a8a854013
Exists in develop

Fix

Reglas de lint
src/app/modules/carrito/carrito.component.html
... ... @@ -46,7 +46,7 @@
46 46 <!-- CANTIDAD -->
47 47 <div class="col-6 col-md-3 h-50 h-md-100 border-right border-primary">
48 48 <p class="h-40"><small>CANT</small></p>
49   - <articulo-cantidad [articulo]="articulo"></articulo-cantidad>
  49 + <app-articulo-cantidad [articulo]="articulo"></app-articulo-cantidad>
50 50 </div>
51 51 <!-- PRECIO -->
52 52 <div class="col-6 col-md-3 h-50 h-md-100 border-right border-primary">
src/app/modules/info-formas-pago/info-formas-pago.component.ts
... ... @@ -21,7 +21,7 @@ export class InfoFormasPagoComponent implements OnInit, OnDestroy {
21 21 }
22 22  
23 23 openGoCaja(templateRef: TemplateRef<any>) {
24   - let modalRef = this.modalService.show(templateRef, { class: 'modal-promo modal-sm modal-dialog-centered' });
  24 + const modalRef = this.modalService.show(templateRef, { class: 'modal-promo modal-sm modal-dialog-centered' });
25 25 this.timer = setTimeout(() => {
26 26 modalRef.hide();
27 27 }, 3000);
src/app/modules/opcion-pedido/opcion-pedido.component.ts
... ... @@ -21,7 +21,7 @@ export class OpcionPedidoComponent implements OnInit {
21 21 }
22 22  
23 23 seleccionPedido(lugar) {
24   - lugar === 'true' ? lugar = true : false;
  24 + lugar = lugar === 'true' ? true : false;
25 25 localStorage.setItem('pedidoParaLlevar', lugar);
26 26 }
27 27  
src/app/modules/seleccion-articulos/seleccion-articulos.component.html
... ... @@ -189,7 +189,7 @@
189 189 <p class="d-block mt-auto text-center text-primary text-truncate">
190 190 <small>{{articulo.DetArt}}</small>
191 191 </p>
192   - <articulo-cantidad [articulo]="articulo"></articulo-cantidad>
  192 + <app-articulo-cantidad [articulo]="articulo"></app-articulo-cantidad>
193 193 </div>
194 194 <!-- MENSAJE DE ADVERTENCIA -->
195 195 <div *ngIf="!articuloService.carrito.length" class="col h-100">
src/app/shared/articulo-cantidad/articulo-cantidad.component.ts
... ... @@ -3,7 +3,7 @@ import { IArticulo } from &#39;src/app/interfaces/IArticulo&#39;;
3 3 import { ArticuloService } from 'src/app/services/articulo/articulo.service';
4 4  
5 5 @Component({
6   - selector: 'articulo-cantidad',
  6 + selector: 'app-articulo-cantidad',
7 7 templateUrl: './articulo-cantidad.component.html',
8 8 styleUrls: ['./articulo-cantidad.component.scss']
9 9 })
src/app/shared/sinonimo/sinonimo.component.html
... ... @@ -24,7 +24,7 @@
24 24 </div>
25 25 </div>
26 26 </div>
27   -
  27 +
28 28 <div class="modal-footer">
29 29 <div
30 30 [ngClass]="validate()"