Issue: While in the employee information screen, we can still select an
employee when inputting their index in the menu. This makes us to go into
an invalid state and crash.
Fix: Added checking to make sure we only interpret the input as an employee
index when we are in the employee management screen.
Pull Request Checklist
[x] I have ensured that my commit message contains the Issue ID.
[x] I have ensured that my commit message contains the feature/bugfix description.
[ ] I have updated the documentation accordingly.
[x] I have ensured my code follows the coding guidelines.
[x] I have ran lint in my code locally prior to submission.
[x] I have built my changes in local successfully.
xxxx
Issue: While in the employee information screen, we can still select an employee when inputting their index in the menu. This makes us to go into an invalid state and crash.
Fix: Added checking to make sure we only interpret the input as an employee index when we are in the employee management screen.
Pull Request Checklist