From 48213f4d0ebbe82d04aff3b2662c70d7c50c93dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bahad=C4=B1r=20Sofuo=C4=9Flu?= Date: Fri, 13 Jan 2023 16:51:35 +0300 Subject: [PATCH] Fixed product service for rowexpand datatable demo --- service/ProductService.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/service/ProductService.js b/service/ProductService.js index 6ea75b23f..7e02109ed 100644 --- a/service/ProductService.js +++ b/service/ProductService.js @@ -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); }