We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6fcd7f8 commit 5c2c17dCopy full SHA for 5c2c17d
src/utils/domain/risk.ts
@@ -228,7 +228,7 @@ export function getAverageIpcData(uniqueData: IpcData) {
228
);
229
230
const monthlyValueList = Object.values(ipcRiskDataItem ?? {});
231
- const annual_average = avgSafe(monthlyValueList);
+ const annual_average = sumSafe(monthlyValueList);
232
233
return {
234
...ipcRiskDataItem,
0 commit comments