Skip to content

Commit

Permalink
Merge pull request #6 from nemac/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
jeffbliss authored Dec 5, 2024
2 parents db99333 + b501aed commit f1f0a8c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/Cell.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,10 @@ export default function Cell({ label, type, key, isSelectable, onRemove }) {
borderBottomRightRadius: 0,
borderTopLeftRadius: type === 'community' ? theme.spacing(2) : 0,
borderBottomLeftRadius: type === 'community' ? theme.spacing(2) : 0,
padding: 1,
bgcolor: key === hoverRow ? 'primary.cellHoverBg' : 'primary.tan',
height: { xs: 120, md: 50 },
minWidth: {xs: 50, md: 150 },
minWidth: { xs: 50, md: 150 },
justifyContent: 'center',
}}
>
Expand Down
2 changes: 2 additions & 0 deletions src/util/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,8 @@ export const fetchPractitionersByFilters = (selectedOptions, setPractitioners) =
const recs = records
.map((rawRec) => rawRec.fields)
.map((rec) => normalizeRec(rec, practitionerFieldMap))
// Only include Accepted practitioners
.filter((rec) => rec.status === 'Accepted')
// Calculate match score based on count of all matching items
.map((rec) => {
let matchCount = 0;
Expand Down

0 comments on commit f1f0a8c

Please sign in to comment.