Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CARE reloads when a patient is discharged #6756

Closed
rithviknishad opened this issue Nov 30, 2023 · 3 comments · Fixed by #6892
Closed

CARE reloads when a patient is discharged #6756

rithviknishad opened this issue Nov 30, 2023 · 3 comments · Fixed by #6892
Assignees

Comments

@rithviknishad
Copy link
Member

Describe the bug
When "Discharge From Care" is submitted, the entire CARE app reloads causing it to fetch all the resources again.

To Reproduce
Steps to reproduce the behavior:

  1. Discharge a patient

Expected behavior
Instead of refreshing the page, just trigger the refetch of appropriate queries to cause it to re-render with new state.

@github-project-automation github-project-automation bot moved this to Triage in Care Nov 30, 2023
@rithviknishad rithviknishad moved this from Triage to Up Next in Care Nov 30, 2023
@sriharsh05
Copy link
Contributor

I want to work on this issue. Please assign it to me.

@rithviknishad
Copy link
Member Author

Just updating this issue, we have window.location.reload() in multiple places. These can also be solved.

image

Copy link

Hi, @gigincg, @nihal467, @khavinshankar, @mathew-alex, @aparnacoronasafe, This issue has been automatically marked as stale because it has not had any recent activity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants