Skip to content

Commit 5828471

Browse files
author
Greg
committed
Leave index column when hiding all columns
Signed-off-by: Greg <[email protected]>
1 parent 7f26386 commit 5828471

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

js/core/transformExecutors.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,10 @@ export class HideExecutor extends TransformExecutor {
3535
public apply(input: TransformExecutor.IData): TransformExecutor.IData {
3636
const newSchema = { ...input.schema };
3737

38+
console.log('input.schema', input.schema);
3839
if (this._options.hideAll) {
3940
newSchema.fields = newSchema.fields.filter(
40-
(field) => field.name === 'key',
41+
(field) => field.name === 'index_column',
4142
);
4243
} else {
4344
newSchema.fields = newSchema.fields.filter(

0 commit comments

Comments
 (0)