Skip to content

Commit

Permalink
fix(sqllab): resultset disappeared on switching tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
justinpark committed Oct 7, 2022
1 parent 0c46149 commit 15d0314
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions superset-frontend/src/components/FilterableTable/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,10 @@ const FilterableTable = ({
fitTableToWidthIfNeeded();
}, []);

useEffect(() => {
totalTableHeight.current = height;
}, [height]);

const hasMatch = (text: string, row: Datum) => {
const values: string[] = [];
Object.keys(row).forEach(key => {
Expand Down

0 comments on commit 15d0314

Please sign in to comment.