Skip to content
Snippets Groups Projects
Commit 941555e9 authored by Bjarke Madsen's avatar Bjarke Madsen
Browse files

don't replace no data with 0 for budget graph

parent 7022ab2c
No related branches found
No related tags found
No related merge requests found
......@@ -142,7 +142,7 @@ export function createBudgetDataset(budgetEntries: Budget[]): BasicDataset {
return {
backgroundColor: randomColor,
borderColor: randomColor,
data: labelsYear.map((year) => dataLookup.get(nren)!.get(year)?.budget ?? 0),
data: labelsYear.map((year) => dataLookup.get(nren)!.get(year)?.budget ?? null),
label: nren,
hidden: false
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment