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

(fix) Mutate list of patients not in queue on adding new queue entries #807

Merged
merged 1 commit into from
Sep 12, 2023

Conversation

CynthiaKamau
Copy link
Collaborator

Requirements

Summary

  • Mutate list of patients not in queue on adding new queue entries

Screenshots

https://www.loom.com/share/b972c4abbf1541638b072917f4d1b41b?sid=d07d93ef-4180-4ad3-bd6b-cf8a297f6075

None.

Related Issue

None.

Other

None.

Copy link
Member

@donaldkibet donaldkibet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM @CynthiaKamau just one suggestion.

@@ -86,6 +87,7 @@ const AddVisitToQueue: React.FC<AddVisitToQueueDialogProps> = ({ visitDetails, c
});
closeModal();
mutate();
mutateQueueEntries();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we have one mutate function to update the queue entries.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One mutate is for the list with queue entries and the other is for people who have active visits and are not in the queue

@CynthiaKamau CynthiaKamau merged commit fa12f3f into openmrs:main Sep 12, 2023
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants