Skip to content

Commit

Permalink
fix table
Browse files Browse the repository at this point in the history
  • Loading branch information
userXinos committed Nov 14, 2023
1 parent 3f9b4e7 commit ed329fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/DataTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ const tableMask = computed(() => {
body: objectArrayify(props.data.body, { map: filterMapCb }),
};
if (filteredData.body.default.length == 0) {
if (filteredData.body.default && filteredData.body.default.length == 0) {
return null;
}
return tableMaskUtil({ ...filteredData }, props.mergeCells);
Expand Down

0 comments on commit ed329fa

Please sign in to comment.