show correct message after all employees are assigned to a project #65
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "pramod_Bug#177"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.