Skip to content

Commit

Permalink
Add data explorer comment on property renames
Browse files Browse the repository at this point in the history
  • Loading branch information
SARodrigues committed Jul 6, 2023
1 parent be51042 commit f08a3d3
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -910,6 +910,7 @@ export const parseData = createSelector(
(data, section) => {
if (!data || !data.length > 0) return null;

// We want to rename some fields for display on the table, such as iso_code2/3 into iso
const updatedData = data.map(o =>
Object.assign(
...Object.keys(o).map(k => ({
Expand Down

0 comments on commit f08a3d3

Please sign in to comment.