pramod_Bug#126ManageRole - Role selection UI bugs, empty state handling, and async refactor #53

Merged
vikas.nale merged 3 commits from pramod_Bug#126ManageRole into Issues_April_5W 2025-04-30 11:25:17 +00:00

3 Commits

Author SHA1 Message Date
Pramod Mahajan
ee2d44b5fc fixed useEmployeeRoles to return [] when employee has no roles and some changed for fetching logic to use async/await 2025-04-30 00:03:08 +05:30
Pramod Mahajan
75507707c0 Handle role deselection and employee switching
- Reset checkboxes when employee changes
- Allow submission when no roles are selected
- Fixed zod validation to support empty selections
2025-04-29 23:56:36 +05:30
Pramod Mahajan
fec6de8a54 removed console 2025-04-29 23:54:59 +05:30