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

Commit

Permalink
MAT-7936 MADiE: Issues around Measure Buttons: Automatic navigation o…
Browse files Browse the repository at this point in the history
…n draft creation
  • Loading branch information
adongare committed Nov 21, 2024
1 parent 159a794 commit 025f539
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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

0 comments on commit 025f539

Please sign in to comment.