show correct message after all employees are assigned to a project #65

Merged
vikas.nale merged 1 commits from pramod_Bug#177 into Issue_May_2W 2025-05-06 12:47:28 +00:00
Collaborator

ISSUE
After assigning all employees to a project, clicking the "Assign Employee" button again only showed a loading spinner.
The expected message "All employee assigned to Project." was not shown.

FIXED
Updated the useAllEmployee hook to properly reset the loader flag (setLoading(false)) after the API call completes, regardless of the response data.

**ISSUE** After assigning all employees to a project, clicking the "Assign Employee" button again only showed a loading spinner. The expected message "All employee assigned to Project." was not shown. **FIXED** Updated the useAllEmployee hook to properly reset the loader flag (setLoading(false)) after the API call completes, regardless of the response data.
pramod.mahajan added 1 commit 2025-05-06 06:09:21 +00:00
- fixed issue where loader spinner stayed active after API call
- added setLoading(false) in useAllEmployee hook after API call
- now message All employee assigned to Project." shows properly
vikas.nale merged commit 321b73e2c0 into Issue_May_2W 2025-05-06 12:47:28 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: admin/marco.pms.web#65
No description provided.