Skip to content

fix: remove already-selected days from availability dropdown and restore on delete#11

Merged
Shuudy merged 2 commits intomainfrom
bugfix/delete-duplicate-availabilities
Oct 17, 2025
Merged

fix: remove already-selected days from availability dropdown and restore on delete#11
Shuudy merged 2 commits intomainfrom
bugfix/delete-duplicate-availabilities

Conversation

@Mizi00
Copy link
Copy Markdown
Collaborator

@Mizi00 Mizi00 commented Oct 17, 2025

Summary

This PR fixes a UI bug in AvailabilityView.java where a user could add multiple availability slots for the same weekday. After adding a slot, the selected weekday is now removed from the day dropdown so the user cannot create duplicate availability for the same day. When a slot is deleted, the weekday is returned to the dropdown.

@Mizi00 Mizi00 requested a review from Shuudy October 17, 2025 21:37
@Shuudy Shuudy added the enhancement New feature or request label Oct 17, 2025
@Mizi00 Mizi00 force-pushed the bugfix/delete-duplicate-availabilities branch from 8c7dc51 to 9e5d999 Compare October 17, 2025 21:48
@Shuudy Shuudy merged commit 69c9d5a into main Oct 17, 2025
2 checks passed
@Shuudy Shuudy deleted the bugfix/delete-duplicate-availabilities branch October 17, 2025 22:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants