Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
lmoertl committed Aug 13, 2024
1 parent 5a24b95 commit 892cba2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/components/DataDisplay/DataDisplaySourceTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit 892cba2

Please sign in to comment.