Product list / detail / router fully working.

Need to test the sale / reports
This commit is contained in:
2020-11-09 12:43:18 +05:30
parent 4aaa3fc72b
commit a92726f5e6
22 changed files with 370 additions and 271 deletions

View File

@ -35,7 +35,7 @@ export class ProductService {
}
listIsActiveOfCategory(id: string): Observable<Product[]> {
const options = { params: new HttpParams().set('mc', id).set('a', 'true') };
const options = { params: new HttpParams().set('mc', id) };
return <Observable<Product[]>>(
this.http
.get<Product[]>(`${url}/query`, options)