Access current userLoginID with Redux useSelector Hook (to fix issue https://github.com/HospitalRun/hospitalrun-frontend/issues/2539)
Get fullName user associated with userLoginID and show in 'reportedBy' in the report incident file.
Changed version lodash "4.17.15" to version "4.14.182" (to fix npm start issues)
Changed version chalk "^5.0.0" to version "~4.1.2" (to fix npm start issues)
Changed version types/node "17.0.0", to version "~15.6.1" (to fix npm start issues)
After fix:
Fixes https://github.com/HospitalRun/hospitalrun-frontend/issues/2539
Changes proposed in this pull request:
Access current userLoginID with Redux useSelector Hook (to fix issue https://github.com/HospitalRun/hospitalrun-frontend/issues/2539) Get fullName user associated with userLoginID and show in 'reportedBy' in the report incident file. Changed version lodash "4.17.15" to version "4.14.182" (to fix npm start issues) Changed version chalk "^5.0.0" to version "~4.1.2" (to fix npm start issues) Changed version types/node "17.0.0", to version "~15.6.1" (to fix npm start issues) After fix: