From 32d11edb2f1ff86c5872e4fcb5d27f36d77266e4 Mon Sep 17 00:00:00 2001 From: Javier Segarra Date: Tue, 9 Jul 2024 14:34:38 +0200 Subject: [PATCH] updates --- src/pages/Item/ItemFixedPriceFilter.vue | 5 ++--- src/pages/Order/Card/OrderDescriptor.vue | 2 +- src/pages/Order/OrderLines.vue | 4 ++-- 3 files changed, 5 insertions(+), 6 deletions(-) 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') }}