Fixed product service for rowexpand datatable demo

pull/3539/head
Bahadır Sofuoğlu 2023-01-13 16:51:35 +03:00
parent 17e7b6e7c0
commit 48213f4d0e
1 changed files with 2 additions and 2 deletions

View File

@ -12,13 +12,13 @@ export default class ProductService {
}
getProducts() {
return fetch(this.contextPath + 'demo/data/products-small.json')
return fetch(this.contextPath + 'demo/data/products.json')
.then((res) => res.json())
.then((d) => d.data);
}
getProductsWithOrdersSmall() {
return fetch(this.contextPath + 'demo/data/products-small.json')
return fetch(this.contextPath + 'demo/data/products-orders-small.json')
.then((res) => res.json())
.then((d) => d.data);
}