thm-p3-configurator 0.0.141 → 0.0.142
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -421,7 +421,6 @@ const useProductsQuery = orderParameters => {
|
|
|
421
421
|
queryFn: async () => {
|
|
422
422
|
var _response$data, _JSON$parse, _data$articles, _data$articles2, _data$articles3, _data$articles4, _data$articles5, _data$articles6;
|
|
423
423
|
const response = await _authenticatedProxyApi.authenticatedProxyApi.getOrder(productsSearchParams);
|
|
424
|
-
console.log(response.data, productsSearchParams);
|
|
425
424
|
const data = (_response$data = response.data) === null || _response$data === void 0 ? void 0 : _response$data.data;
|
|
426
425
|
if (!data) return data;
|
|
427
426
|
const authSession = _LocalStorageWorker.lsw.get(_constants__.AUTH_SESSION_KEY);
|
|
@@ -436,7 +435,6 @@ const useProductsQuery = orderParameters => {
|
|
|
436
435
|
// NOTE: the API to enrich the products with extra data is only available when the configurator has an authenticated user, so on in the PP.
|
|
437
436
|
// If we need this also for the public version than Hyper needs to implement this.
|
|
438
437
|
|
|
439
|
-
console.log('alle producten', allProducts);
|
|
440
438
|
if (!allProducts.length) {
|
|
441
439
|
return data;
|
|
442
440
|
}
|