Skip to content

Commit b9bc533

Browse files
authored
fix(dashboard): Allow the option "enableColumnFilter" for additionalColumns in ListPage (#3968)
1 parent 9a364f4 commit b9bc533

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/dashboard/src/lib/components/data-table/use-generated-columns.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ export function useGeneratedColumns<T extends TypedDocumentNode<any, any>>({
163163
if (!id) {
164164
throw new Error('Column id is required');
165165
}
166-
finalColumns.push(columnHelper.accessor(id as any, { ...column, id, enableColumnFilter: false }));
166+
finalColumns.push(columnHelper.accessor(id as any, { enableColumnFilter: false, ...column, id }));
167167
}
168168

169169
if (defaultColumnOrder) {

0 commit comments

Comments
 (0)