From c5acde22a32779d84d5c0f13f1021dce002d1ea2 Mon Sep 17 00:00:00 2001 From: alexm Date: Thu, 21 Nov 2024 07:42:00 +0100 Subject: [PATCH] chore: requested changes --- .../Order/Card/CatalogFilterValueDialog.vue | 16 ++++------------ src/pages/Order/Card/OrderCatalog.vue | 17 +++++++++-------- src/pages/Order/Card/OrderCatalogFilter.vue | 14 ++++++-------- 3 files changed, 19 insertions(+), 28 deletions(-) diff --git a/src/pages/Order/Card/CatalogFilterValueDialog.vue b/src/pages/Order/Card/CatalogFilterValueDialog.vue index 2cc6c74d3..9593e08c4 100644 --- a/src/pages/Order/Card/CatalogFilterValueDialog.vue +++ b/src/pages/Order/Card/CatalogFilterValueDialog.vue @@ -2,7 +2,7 @@ import { ref } from 'vue'; import { useI18n } from 'vue-i18n'; import axios from 'axios'; -import VnSelect from 'components/common/VnSelect.vue'; +import VnSelect from 'src/components/common/VnSelect.vue'; import VnInput from 'src/components/common/VnInput.vue'; const props = defineProps({ @@ -31,14 +31,6 @@ const applyTags = () => { emit('applyTags', tagInfo); }; -const removeTagGroupParam = (valIndex = null) => { - if (!valIndex) { - tagValues.value = [{}]; - } else { - (tagValues.value || []).splice(valIndex, 1); - } -}; - const getSelectedTagValues = async (tag) => { if (!tag?.id) return; const filter = { @@ -57,7 +49,7 @@ const getSelectedTagValues = async (tag) => {