diff --git a/src/pages/Item/ItemListFilter.vue b/src/pages/Item/ItemListFilter.vue index e0993356c..49aeac29f 100644 --- a/src/pages/Item/ItemListFilter.vue +++ b/src/pages/Item/ItemListFilter.vue @@ -6,7 +6,7 @@ import { useStateStore } from 'stores/useStateStore'; import FetchData from 'components/FetchData.vue'; import VnFilterPanel from 'src/components/ui/VnFilterPanel.vue'; -import VnSelectFilter from 'src/components/common/VnSelectFilter.vue'; +import VnSelect from 'src/components/common/VnSelect.vue'; import VnInput from 'src/components/common/VnInput.vue'; import { QCheckbox } from 'quasar'; @@ -119,10 +119,12 @@ onMounted(async () => { const _moreFields = ['id', 'description', 'name', 'isActive']; _moreFields.forEach((field) => { + console.log(field); let prop = properties[field]; + const label = t(`params.${field}`); moreFields.value.push({ name: field, - label: prop ? prop.description : field, + label, type: prop ? prop.type : null, }); }); @@ -183,7 +185,7 @@ onMounted(async () => { - { - + - { - { - + @@ -287,7 +289,7 @@ onMounted(async () => { class="row items-center" > - { /> - { class="row items-center" > -