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

Release/2.47.5 #4209

Merged
merged 1 commit into from
Apr 28, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions packages/app/schema/nl/vaccine_coverage.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"partially_or_fully_vaccinated",
"date_start_unix",
"date_end_unix",
"date_unix",
"date_of_insertion_unix"
],
"additionalProperties": false,
Expand All @@ -32,6 +33,9 @@
"date_end_unix": {
"type": "integer"
},
"date_unix": {
"type": "integer"
},
"date_of_insertion_unix": {
"type": "integer"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export function VaccinationsOverTimeTile(props: VaccinationsOverTimeTileProps) {
const lastDate = useMemo<number>(
() =>
activeVaccinationChart === 'coverage' && isDefined(coverageData)
? coverageData.last_value.date_end_unix
? coverageData.last_value.date_unix
: administrationData.last_value.date_end_unix,
[
activeVaccinationChart,
Expand Down
1 change: 1 addition & 0 deletions packages/common/src/types/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -927,6 +927,7 @@ export interface NlVaccineCoverageValue {
partially_or_fully_vaccinated: number;
date_start_unix: number;
date_end_unix: number;
date_unix: number;
date_of_insertion_unix: number;
}
export interface NlVaccineDeliveryEstimate {
Expand Down