diff --git a/modules/order/front/catalog/index.js b/modules/order/front/catalog/index.js index 87dff29e2..e0ed61175 100644 --- a/modules/order/front/catalog/index.js +++ b/modules/order/front/catalog/index.js @@ -278,18 +278,19 @@ class Controller { updateStateParams() { const params = {}; + params.categoryId = undefined; if (this.categoryId) params.categoryId = this.categoryId; - else params.categoryId = undefined; + params.typeId = undefined; if (this.typeId) params.typeId = this.typeId; - else params.typeId = undefined; + params.itemId = undefined; if (this.itemId) params.itemId = this.itemId; - else params.itemId = undefined; + params.tags = undefined; if (this.tags.length) { const tags = []; for (let tag of this.tags) { @@ -306,7 +307,7 @@ class Controller { } params.tags = JSON.stringify(tags); - } else params.tags = undefined; + } this.$state.go(this.$state.current.name, params); }