0
0
Fork 0

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