mirror of
https://github.com/directus/directus.git
synced 2026-04-03 03:00:39 -04:00
Fix prop type check issue in filter interface (#12468)
This commit is contained in:
committed by
GitHub
parent
5856d991d4
commit
6e8ab78c0e
@@ -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 };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user