You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After I attempted to remove the first employee from the employee list, when I add a new employee I am expected to see the new employee be given an index number of 1. However, the program gave an index number 2 to the new employee instead.
Suggestion
Maybe generate the index number dynamically when listing.
Output
The text was updated successfully, but these errors were encountered:
Issue
After I attempted to remove the first employee from the employee list, when I add a new employee I am expected to see the new employee be given an index number of 1. However, the program gave an index number 2 to the new employee instead.
Suggestion
Maybe generate the index number dynamically when listing.
Output
The text was updated successfully, but these errors were encountered: