Skip to content

fixed appointment bug#45

Merged
ManvithaDungi merged 2 commits into
mainfrom
minor-issues
Mar 11, 2026
Merged

fixed appointment bug#45
ManvithaDungi merged 2 commits into
mainfrom
minor-issues

Conversation

@ManvithaDungi

Copy link
Copy Markdown
Collaborator

Two bugs fixed:

  1. Patient's Appointments page (Appointments.jsx) — 3 places:

"Upcoming" tab filter: now excludes REJECTED (was only excluding COMPLETED and CANCELLED)
Reminder sidebar: same fix
Calendar view tab counts: same fix
"Cancelled" tab: now also shows REJECTED appointments (patients can see their rejected requests there)
2. Admin Approval Queue (AppointmentApprovalQueue.jsx):

After approve/reject, now refetches the full list from the server instead of filtering locally — this is more reliable and guarantees the queue always reflects actual DB state

@ManvithaDungi ManvithaDungi merged commit ea84abb into main Mar 11, 2026
1 check 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