Skip to content

Commit

Permalink
WIP: ensure active being true only when active is considered
Browse files Browse the repository at this point in the history
  • Loading branch information
Filienko committed Jan 10, 2024
1 parent d872f8b commit 0f463f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion patientsearch/src/js/context/PatientListContextProvider.js
Original file line number Diff line number Diff line change
Expand Up @@ -781,7 +781,7 @@ export default function PatientListContextProvider({ children }) {
: getFirstResourceFromFhirBundle(bundleResult);
rowData.resource = {
...entryToUse,
active: true ? (params && params.useActiveFlag) : undefined,
...(params && params.useActiveFlag ? { active: true } : {}),
};
rowData.id = entryToUse.id;
}
Expand Down

0 comments on commit 0f463f7

Please sign in to comment.