Skip to content

Commit

Permalink
Merge pull request #308 from BIDMCDigitalPsychiatry/issue-764
Browse files Browse the repository at this point in the history
DBT auto save - bug fix
  • Loading branch information
sarithapillai8 authored Jul 20, 2023
2 parents afefa21 + d824be6 commit 083406f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DBTDiaryCard/src/containers/patient/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ function HomeView(props) {

useEffect(() => {
if (active === 8) {
let finalReport = createReport(props.report, activityId)
let finalReport = createReport(props.report, props?.data?.activity?.id)
finalReport.duration = new Date().getTime() - time
window.parent.postMessage(JSON.stringify(finalReport), "*");
}
Expand Down

0 comments on commit 083406f

Please sign in to comment.