fix: #7260 remove value

This commit is contained in:
Javier Segarra 2024-12-02 23:02:13 +01:00
parent 1b975193f0
commit 4f93d472ac
1 changed files with 10 additions and 15 deletions

View File

@ -83,7 +83,6 @@ const applyTags = (params, search) => {
};
const fetchItemTypes = async (id = selectedCategoryFk.value) => {
try {
const filter = {
fields: ['id', 'name', 'categoryFk'],
where: { categoryFk: id },
@ -94,9 +93,6 @@ const fetchItemTypes = async (id = selectedCategoryFk.value) => {
params: { filter: JSON.stringify(filter) },
});
itemTypesOptions.value = data;
} catch (err) {
console.error('Error fetching item types', err);
}
};
const getCategoryClass = (category, params) => {
@ -257,7 +253,6 @@ const setCategoryList = (data) => {
/>
</QItemSection>
<QItemSection class="col">
{{ value }}
<VnSelect
v-if="!value?.selectedTag?.isFree && value.valueOptions"
:label="t('components.itemsFilterPanel.value')"