From ea3569e81ad0d3a7bffe1a4f4fcb1c420f7f91c7 Mon Sep 17 00:00:00 2001 From: Javier Segarra Date: Wed, 20 Nov 2024 09:45:55 +0100 Subject: [PATCH] feat: #7260 remove comment --- src/components/ItemsFilterPanel.vue | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/components/ItemsFilterPanel.vue b/src/components/ItemsFilterPanel.vue index a70d46953..cf91968e2 100644 --- a/src/components/ItemsFilterPanel.vue +++ b/src/components/ItemsFilterPanel.vue @@ -37,18 +37,6 @@ const tagValues = ref([]); const categoryList = ref(null); const selectedCategoryFk = ref(getParamWhere(route.query.table, 'categoryFk', false)); const selectedTypeFk = ref(getParamWhere(route.query.table, 'typeFk', false)); -// const selectedCategoryFk = ref( -// JSON.parse(route?.query?.table ?? '{}').categoryFk ?? null -// ); -// const selectedTypeFk = ref(JSON.parse(route?.query?.table ?? '{}').typeFk ?? null); -// const categoryList = computed(() => { -// return (itemCategories.value || []) -// .filter((category) => category.display) -// .map((category) => ({ -// ...category, -// icon: `vn:${(category.icon || '').split('-')[1]}`, -// })); -// }); const selectedCategory = computed(() => { return (categoryList.value || []).find(