Skip to content

Commit

Permalink
#1273 | Fix issues with transition to encounter edit form on clicking…
Browse files Browse the repository at this point in the history
… "Draft/Scheduled" encounters "Do" button.
  • Loading branch information
himeshr committed Feb 28, 2024
1 parent a0794b1 commit 5af23f0
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,9 @@ class SubjectDashboardGeneralTab extends AbstractComponent {
containsDrafts={true}
deleteDraft={(encounterUUID) => this.deleteDraft(encounterUUID)}
hideIfEmpty={true}
subjectInfo={this.state.individual.name}/>);
subjectInfo={this.state.individual.name}
onEditEncounterActionName={Actions.ON_EDIT_ENCOUNTER}
/>);
}

renderPlannedVisits() {
Expand All @@ -78,7 +80,9 @@ class SubjectDashboardGeneralTab extends AbstractComponent {
title={this.I18n.t('visitsPlanned')}
emptyTitle={this.I18n.t('noPlannedEncounters')}
expandCollapseView={false}
subjectInfo={this.state.individual.name}/>);
subjectInfo={this.state.individual.name}
onEditEncounterActionName={Actions.ON_EDIT_ENCOUNTER}
/>);
}

renderCompletedVisits() {
Expand Down

0 comments on commit 5af23f0

Please sign in to comment.