Perbaikan Menu Produk
This commit is contained in:
@@ -6,6 +6,7 @@ export class Product {
|
||||
pageSize = 10
|
||||
data = [];
|
||||
total_data = 0;
|
||||
total_data_partner=0;
|
||||
filterSupplier = null;
|
||||
filterSubCategory = null;
|
||||
visibleModalProduct = false;
|
||||
@@ -101,6 +102,7 @@ export class Product {
|
||||
const response = await http.get(`/product/by-categories?page=${this.pageProductPartner}&pageSize=10&sub-category=${id}`);
|
||||
console.log(response)
|
||||
this.dataProductPartner = response.body.data
|
||||
this.total_data_partner= response?.body?.count ?? 0
|
||||
} catch (e) {
|
||||
console.error(e);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user