itenium-be / confac

Consultant invoicing: React frontend, Express backend
MIT License
8 stars 5 forks source link

Crash on projectMonth details #268

Open Laoujin opened 1 year ago

Laoujin commented 1 year ago

http://itenium.synology.me:9100/projects/645a34a614d3f534fc304f67

fatihozdemir61 commented 1 year ago

ProjectMonthDetails

Steps to reproduce: 1) Click in the open space of one of the projects (see screenshot above) 2) Click on 'Ga naar details' 3) A white screen is displayed

devtools

react-dom.production.min.js:189 TypeError: Cannot read properties of undefined (reading 'firstName') at ProjectSelect.tsx:28:26 at a (ProjectSelect.tsx:35:51) at ProjectSelect.tsx:39:21 at Array.sort () at ProjectSelect.tsx:39:6 at qi (react-dom.production.min.js:167:137) at qs (react-dom.production.min.js:290:337) at yu (react-dom.production.min.js:280:389) at hu (react-dom.production.min.js:280:320) at Ou (react-dom.production.min.js:280:180) at iu (react-dom.production.min.js:271:88) at uu (react-dom.production.min.js:273:300) at Xo (react-dom.production.min.js:127:105) at react-dom.production.min.js:267:273