HospitalRun / hospitalrun-frontend

Frontend for HospitalRun
https://staging.hospitalrun.io
MIT License
6.8k stars 2.18k forks source link

fix: incident reportedBy from currently logged in user ID #2988

Open xhefribala opened 1 year ago

xhefribala commented 1 year ago

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: Screen Shot 2022-09-19 at 10 24 21 am

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
hospitalrun-frontend ❌ Failed (Inspect) Sep 19, 2022 at 4:30AM (UTC)