Commit 0a5138154d57b427089f353d11fe31825063796b

Authored by Marcelo Puebla
1 parent 865e5949a9
Exists in develop

Fix

Accesibilidad de variable
src/app/shared/error-stock/error-stock.component.ts
1 import { Component, OnInit } from '@angular/core'; 1 import { Component, OnInit } from '@angular/core';
2 import { BsModalRef } from 'ngx-bootstrap/modal'; 2 import { BsModalRef } from 'ngx-bootstrap/modal';
3 import { IArticulo } from 'src/app/interfaces/IArticulo'; 3 import { IArticulo } from 'src/app/interfaces/IArticulo';
4 4
5 @Component({ 5 @Component({
6 selector: 'app-error-stock', 6 selector: 'app-error-stock',
7 templateUrl: './error-stock.component.html', 7 templateUrl: './error-stock.component.html',
8 styleUrls: ['./error-stock.component.scss'] 8 styleUrls: ['./error-stock.component.scss']
9 }) 9 })
10 export class ErrorStockComponent implements OnInit { 10 export class ErrorStockComponent implements OnInit {
11 articulo: IArticulo; 11 articulo: IArticulo;
12 12
13 constructor( 13 constructor(
14 private modalRef: BsModalRef, 14 public modalRef: BsModalRef,
15 ) { } 15 ) { }
16 16
17 ngOnInit() { } 17 ngOnInit() { }
18 18
19 } 19 }
20 20