Skip to content

Commit

Permalink
Show the summary row when applicable
Browse files Browse the repository at this point in the history
Show the summary row when at least one company or group is selected.

Closes #100
  • Loading branch information
brianlove committed Nov 7, 2023
1 parent 6abf7cf commit 61c756e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions web/gui-v2/src/components/ListViewTable.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -184,8 +184,7 @@ const listToDropdownOptions = (list) => {
}

const AGGREGATE_SUM_COLUMNS = [
'ai_pubs',
'ai_patents',
...SLIDER_COLUMNS,
];

/**
Expand Down Expand Up @@ -563,7 +562,7 @@ const ListViewTable = ({
footerData={footerData}
minHeight={400}
paginate={true}
// showFooter={ /* TODO */ } // TODO TODO TODO
showFooter={currentFilters.name.length > 0}
sortByDir={sortDir}
sortByKey={sortKey}
updateSortByDir={setSortDir}
Expand Down

0 comments on commit 61c756e

Please sign in to comment.