diff --git a/src/components/DataDisplay/DataDisplaySourceTable.vue b/src/components/DataDisplay/DataDisplaySourceTable.vue index 59989ca..68d3667 100644 --- a/src/components/DataDisplay/DataDisplaySourceTable.vue +++ b/src/components/DataDisplay/DataDisplaySourceTable.vue @@ -8,10 +8,8 @@ const props = defineProps<{ const tab = ref(null); const columns = computed(() => { - if (!props.data || !props.data[0] || !props.data[0][0]) return []; + if (!props.data?.[0]?.[0]) return []; return Object.keys(props.data[0][0]).map((key) => { - console.log({ key }); - return { accessorKey: key, header: () => h("div", { class: "text-right" }, key),