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

MAT-7915 undefined strataCode #763

Merged
merged 1 commit into from
Nov 15, 2024
Merged
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: 2 additions & 2 deletions src/api/CalculationService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -431,8 +431,8 @@ export class CalculationService {
(strata) =>
// TODO: workaround because fqm execution doesn't provide IDs for all cases
(strata.strataCode &&
strata.strataCode === strataResult.strataCode) ||
(strata.strataId && strata.strataId === strataResult.strataId)
strata.strataCode === strataResult?.strataCode) ||
(strata.strataId && strata.strataId === strataResult?.strataId)
);
return population?.result && stratification?.result;
}
Expand Down
Loading