Skip to content

Commit 51b9205

Browse files
small fix for summary rows
1 parent 8778c63 commit 51b9205

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/packages/lowcoder/src/comps/comps/tableComp/tableSummaryComp.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ export const TableSummary = memo(function TableSummary(props: {
203203

204204
const visibleColumns = useMemo(() => {
205205
let cols = columns.filter(col => !col.getView().hide);
206-
if (dynamicColumn) {
206+
if (dynamicColumn && dynamicColumnConfig?.length) {
207207
cols = cols.filter(col => {
208208
const colView = col.getView();
209209
return dynamicColumnConfig.includes(colView.isCustom ? colView.title : colView.dataIndex)

0 commit comments

Comments
 (0)