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

Commit

Permalink
Merge branch 'develop' into MAT-7101
Browse files Browse the repository at this point in the history
  • Loading branch information
ethankaplan authored Nov 22, 2024
2 parents c343eea + a3811f7 commit 7290471
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 7290471

Please sign in to comment.