Similar investigation button fix
In case there are no available similar investigations, no number would be shown in the GUI. We should show 0.
tagging @drosetti for reference
Hi! I'd like to work on this issue. Could you please assign it to me?
Hello! Could you assign this issue to me? As a solution we need 2 changes . First of all turning export function JobInfoCard({ job, relatedInvestigationNumber }) into export function JobInfoCard({ job, relatedInvestigationNumber = 0 }), and later a small change in PropTypes. JobInfoCard.propTypes = { job: PropTypes.object.isRequired, relatedInvestigationNumber: PropTypes.number, }; This way if upstream gives us 0 or none , a 0 will be shown on the similar investigations button!
@Gargee61 any update?
@mlodic Yes it's almost done.
But the lint error still persists. I've done all the necessary environmental setup as well... Can you suggest me some correction? I'd really appreciate you guidance.
just read the linter issue and try to solve it, that's related to your change
Hey @mlodic can i take up this issue until my previous PR gets reviewed? This is a minor fix, wont take much time :)
yep thanks!
Hi 👋,
I would like to work on this issue and submit a fix. Could you please assign it to me? I’ll make sure the changes follow the project guidelines and don’t break existing functionality.
Thank you for your time! 😊
the GUI has been changed in a recent commit from @carellamartina, so this is not needed anymore