mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-10 15:01:03 +00:00
Merge pull request #1612 from molecula/feature/syang/groupby-filter
CLOUD-59: Updates saved query list for GroupBy filter
This commit is contained in:
commit
e1394c2bdb
2 changed files with 21 additions and 2 deletions
16
lattice/.gitignore
vendored
Normal file
16
lattice/.gitignore
vendored
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
|
||||
|
||||
# dependencies
|
||||
/node_modules
|
||||
/.pnp
|
||||
.pnp.js
|
||||
|
||||
# testing
|
||||
/coverage
|
||||
|
||||
# production
|
||||
/build
|
||||
|
||||
npm-debug.log*
|
||||
yarn-debug.log*
|
||||
yarn-error.log*
|
||||
|
|
@ -104,10 +104,13 @@ export const QueryBuilder: FC<QueryBuilderProps> = ({
|
|||
useEffect(() => {
|
||||
setGroupByFilters(
|
||||
queriesList.filter(
|
||||
(q) => q.table === selectedTable.name && q.operation === 'Extract'
|
||||
(q) =>
|
||||
q.table === selectedTable.name &&
|
||||
q.operation === 'Extract' &&
|
||||
q.rowCalls.length > 0
|
||||
)
|
||||
);
|
||||
}, [selectedTable]);
|
||||
}, [selectedTable, queriesList]);
|
||||
|
||||
const getColumnsToShow = (cols?: { name: string; show: boolean }[]) => {
|
||||
let columns: string[] = [];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue