Skip to content

Commit

Permalink
Merge branch 'main' into dashboard/normdata-update-exportCSV
Browse files Browse the repository at this point in the history
  • Loading branch information
danilomartinss authored Dec 18, 2024
2 parents 01ca11c + 4651ee1 commit aa89ff3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,8 @@ export function Covid19LineChart({
}

return data
.filter((item) => selectedYears.includes(item.ProveAar)) // Filtrar apenas os anos selecionados
.filter((item) => selectedYears.includes(item.ProveAar))
.map((item) => {
// Criar um novo objeto contendo apenas as colunas selecionadas
const result: Covid19Record = {
ProveAar: item.ProveAar,
Covid19: undefined,
Expand Down
6 changes: 6 additions & 0 deletions src/components/nav-bar/navBarData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,12 @@ export const topics: DropdownMenuItem[] = [
description:
"Mycoplasma: tiny, shape-shifting bacteria without cell walls, avoiding antibiotics and thriving independently.",
},
{
title: "Escherichia coli",
href: "/topics/escherichia",
description:
"Escherichia coli is a gram-negative, rod-shaped bacterium commonly found in the intestines of humans and warm-blooded animals.",
},
];

export const pandemicPreparednessNavItems: DropdownMenuItem[] = [
Expand Down

0 comments on commit aa89ff3

Please sign in to comment.