vanilli-shop-client
Advanced tools
Comparing version 1.3.8 to 1.3.9
@@ -84,3 +84,3 @@ "use strict"; | ||
return __awaiter(this, void 0, void 0, function () { | ||
var notificationStore, result, data, e_1; | ||
var notificationStore, lastQueryParams, result, data, e_1; | ||
return __generator(this, function (_a) { | ||
@@ -91,4 +91,8 @@ switch (_a.label) { | ||
request.additionalProps = this.searchProps; | ||
if (this.lastQueryParams) { | ||
queryParams = this.lastQueryParams; | ||
lastQueryParams = this.lastQueryParams; | ||
if (lastQueryParams) { | ||
queryParams = { | ||
sortBy: lastQueryParams.sortBy, | ||
sortDesc: lastQueryParams.sortDesc | ||
}; | ||
} | ||
@@ -95,0 +99,0 @@ this.toggleProductList(); |
{ | ||
"name": "vanilli-shop-client", | ||
"version": "1.3.8", | ||
"version": "1.3.9", | ||
"description": "Client for Vanilli Shop API", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -37,5 +37,9 @@ import BaseStore from "./base-store"; | ||
request.additionalProps = this.searchProps; | ||
const lastQueryParams = this.lastQueryParams; | ||
if (this.lastQueryParams) { | ||
queryParams = this.lastQueryParams; | ||
if (lastQueryParams) { | ||
queryParams = { | ||
sortBy: lastQueryParams.sortBy, | ||
sortDesc: lastQueryParams.sortDesc | ||
} | ||
} | ||
@@ -42,0 +46,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
229958
5147