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

MAT-7936 MADiE: Issues around Measure Buttons: Automatic navigation and an Error #768

Merged
merged 1 commit into from
Nov 22, 2024
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
2 changes: 1 addition & 1 deletion src/components/testCaseLanding/qdm/TestCaseList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ const TestCaseList = (props: TestCaseListProps) => {

useEffect(() => {
const validTestCases = testCases?.filter((tc) => tc.validResource);
if (validTestCases && calculationOutput) {
if (validTestCases && calculationOutput && selectedPopCriteria) {
const executionResults: CqmExecutionResultsByPatient = calculationOutput;
// calculation output only contains valid testcases already.
const highlightingForAllGroups = buildHighlightingForAllGroups(
Expand Down
2 changes: 1 addition & 1 deletion src/components/testCaseLanding/qiCore/TestCaseList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ const TestCaseList = (props: TestCaseListProps) => {

useEffect(() => {
const validTestCases = testCases?.filter((tc) => tc.validResource);
if (validTestCases && calculationOutput?.results) {
if (validTestCases && calculationOutput?.results && selectedPopCriteria) {
// Pull Clause Coverage from coverage HTML
setCoveragePercentage(
getCoverageValueFromHtml(
Expand Down
Loading