diff --git a/src/pages/Item/ItemFixedPriceFilter.vue b/src/pages/Item/ItemFixedPriceFilter.vue index 4dd4d3b0a..6c35e5cec 100644 --- a/src/pages/Item/ItemFixedPriceFilter.vue +++ b/src/pages/Item/ItemFixedPriceFilter.vue @@ -24,7 +24,8 @@ const route = useRoute(); const itemTypeWorkersOptions = ref([]); const sanitizeParam = (param) => { - const params = JSON.parse(route.query.params); + if (!route?.query?.params) return 'false'; + const params = JSON.parse(route?.query?.params); return params[param] ?? 'false'; }; const $params = ref({}); @@ -46,8 +47,6 @@ const pushParam = (param) => ({ /> - + {{ t('confirm') }}