Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

Commit

Permalink
fix(COR-1914): Replace metric in replaceInaccurateLastValue function (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
ben-van-eekelen authored Mar 4, 2024
1 parent 3e6f788 commit 27bdf9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/app/src/static-props/get-data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ export function createGetArchivedChoroplethData<T1, T2>(settings?: {
* This is meant to be a temporary fix until this is done on the backend.
*/
function replaceInaccurateLastValue(data: any) {
const metricsInaccurateItems = ['intensive_care_nice', 'hospital_nice'];
const metricsInaccurateItems = ['intensive_care_nice', 'hospital_nice_archived_20240228'];

const inaccurateMetricProperties = ['admissions_on_date_of_admission_moving_average_rounded', 'admissions_in_the_last_7_days'];

Expand Down

0 comments on commit 27bdf9d

Please sign in to comment.