Skip to content

Commit

Permalink
Add new default column
Browse files Browse the repository at this point in the history
  • Loading branch information
jmelot committed Jun 26, 2024
1 parent 981c988 commit 66e3cf7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion web/gui-v2/src/components/ListView.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import { exportsForTestingOnly } from './ListViewTable';

const { extractCurrentFilters, filterRow } = exportsForTestingOnly;

const INITIAL_COLUMNS = ['Company', 'Country', 'AI publications', 'AI patents', 'AI jobs'];
const INITIAL_COLUMNS = ['Company', 'Country', 'AI publications', 'AI patents', 'AI jobs', 'Tech Tier 1 jobs'];
const REMOVED_COLUMN = 'AI publications';

describe("ListView", () => {
Expand Down
1 change: 1 addition & 0 deletions web/gui-v2/src/static_data/table_columns.js
Original file line number Diff line number Diff line change
Expand Up @@ -563,6 +563,7 @@ const columnDefinitions = [
return <CellStat col="tt1_jobs" country={row.country} data={data} />;
},
),
initialCol: true,
},
// Apply tooltips to the column definition entries
].map((entry) => ({ ...entry, tooltip: tooltips.columnHeaders[entry.key] }));
Expand Down

0 comments on commit 66e3cf7

Please sign in to comment.