Fix prop type check issue in filter interface (#12468)

This commit is contained in:
Nicola Krumschmidt
2022-03-29 23:52:28 +02:00
committed by GitHub
parent 5856d991d4
commit 6e8ab78c0e

View File

@@ -145,7 +145,7 @@ export default defineComponent({
},
});
const choices = computed(() => translate(fieldInfo.value?.meta?.options?.choices ?? {}));
const choices = computed(() => translate(fieldInfo.value?.meta?.options?.choices ?? []));
return { t, choices, fieldInfo, interfaceType, value, setValueAt, getComparator };