snax4a / service-quotes-web

Service Quotes React.js web app
service-quotes-web.vercel.app
0 stars 0 forks source link

Unexpected error when Manager attempts to access not existing employee #28

Closed SKVetr closed 3 years ago

SKVetr commented 3 years ago

What are the steps to reproduce this issue?

  1. Log in on manager account
  2. Attempt to access a employee details page via direct URL with not existing ID

What happens?

An unexpected error occurs.

What were you expecting to happen?

Not found page. Or redirect to list page.

Any logs, error output, etc?

Issue

Notes?

Example of invalid ID URL: /employees/f6ef58fb

SKVetr commented 3 years ago

Fix Verified.