-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[MDS-6429] Fix mine compliance filters #3491
Conversation
services/core-web/src/components/mine/Compliance/MineComplianceInfo.tsx
Outdated
Show resolved
Hide resolved
services/core-web/src/components/mine/Compliance/MineComplianceInfo.tsx
Outdated
Show resolved
Hide resolved
services/core-web/src/components/mine/Compliance/MineComplianceInfo.tsx
Outdated
Show resolved
Hide resolved
|
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!
Objective
MDS-6429
All of the filters on the inspection orders didn't handle nulls, I'm not entirely sure how they ever worked. Easy fix (slap a lodash isEmpty() on the front). Also decided to update the class to Typescript. I've tested locally by intercepting the browser api calls and everything appears to work now :)