Skip to content

Commit

Permalink
Merge branch 'master' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan-c committed May 20, 2022
2 parents 5a44de5 + 1f2a044 commit db523a8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ portal/static/css/*.css
# nodeJS virtual environment and files
node_env/
portal/node_modules/
portal/static/js/dist/*.txt

# auto-generated JS eslint config when linting JS files (via command eslint) at development
portal/static/js/.eslintrc.js
Expand Down
4 changes: 2 additions & 2 deletions portal/views/patients.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ def render_patients_list(
patient.current_qb = qb_status['visit_name']
if research_study_id == EMPRO_RS_ID:
patient.clinician = '; '.join(
(clinician_name_map[c.id] for c in
patient.clinicians))
(clinician_name_map.get(c.id, "<deleted>") for c in
patient.clinicians)) or "<deleted>"
patient.action_state = qb_status['action_state'].title() \
if qb_status['action_state'] else ""
patients_list.append(patient)
Expand Down

0 comments on commit db523a8

Please sign in to comment.