Skip to content

Commit

Permalink
fix: search in column
Browse files Browse the repository at this point in the history
  • Loading branch information
vcellu committed Nov 26, 2022
1 parent c4e6a23 commit 66884f5
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/components/SimpleGrid.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -129,12 +129,10 @@ const SimpleGrid: React.FC<SimpleGridProps> = ({
].qDef.qFieldLabels?.[0];
console.log(fieldLabel);
column.display = fieldLabel.length === 0 ? column.label : fieldLabel;
console.log(column);
} else {
column.label = layout.qHyperCube.qDimensionInfo[column.dataColIdx].title;
column.label = layout.qHyperCube.qDimensionInfo[column.dataColIdx].qFallbackTitle;
column.display = layout.qHyperCube.qDimensionInfo[column.dataColIdx].qFallbackTitle;
}

searchColumn({ searching: true, column });
} catch (error) {}
},
Expand Down

0 comments on commit 66884f5

Please sign in to comment.