Skip to content

Commit

Permalink
Merge pull request #169 from Vizzuality/staging
Browse files Browse the repository at this point in the history
Staging
  • Loading branch information
mluena authored Oct 30, 2024
2 parents 9178a6c + 677c391 commit 3c4c7ff
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion client/src/containers/countries/countries-table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ const CountriesTable = () => {
}
return "-";
};

console.info(TABLE_ROWS_DATA);
return (
<div className="w-full overflow-auto">
{((!!TABLE_ROWS_DATA && !TABLE_ROWS_DATA.length) || !TABLE_ROWS_DATA) && (
Expand Down
5 changes: 2 additions & 3 deletions client/src/containers/projects/popup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const ProjectPopup = () => {
fields: ["name"],
},
objective: {
fields: ["name"],
fields: ["type"],
},
organization_type: {
fields: ["name"],
Expand All @@ -56,9 +56,8 @@ const ProjectPopup = () => {
const projectTypeOfFunding = data?.data?.attributes?.funding?.data?.attributes?.name;
const organizationType = data?.data?.attributes?.organization_type?.data?.attributes?.name;
const sourceCountry = data?.data?.attributes?.source_country?.data?.attributes?.name;
const objective = data?.data?.attributes?.objective?.data?.attributes?.name;
const objective = data?.data?.attributes?.objective?.data?.attributes?.type;
const info = data?.data?.attributes?.info;

const { format } = Intl.NumberFormat("en-US", {
style: "currency",
currency: "USD",
Expand Down

0 comments on commit 3c4c7ff

Please sign in to comment.