-
Notifications
You must be signed in to change notification settings - Fork 0
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
⬆️ - chore: update @maykin-ui/admin-ui (and migrate code acco… #538
Conversation
0973b4d
to
c60d54e
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #538 +/- ##
==========================================
+ Coverage 80.14% 80.31% +0.16%
==========================================
Files 205 204 -1
Lines 5585 5577 -8
Branches 556 549 -7
==========================================
+ Hits 4476 4479 +3
+ Misses 1109 1098 -11 ☔ View full report in Codecov by Sentry. |
frontend/src/hooks/useFields.ts
Outdated
String(einddatum).split("/"); | ||
const [archiefactiedatum__gte = "", archiefactiedatum__lte = ""] = | ||
String(archiefactiedatum).split("/"); | ||
const [startdatum__gte = null, startdatum__lte = null] = (startdatum && |
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.
I don't particularly enjoy these assertions, but I tried fiddling with the types and it's quite difficult to get it working neatly due to the TypedSerializedFormData..
type
frontend/src/hooks/useFilter.ts
Outdated
setCombinedSearchParams({ | ||
...(filterData as AttributeData<string>), | ||
...(filterData as object), |
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.
I'm pretty sure this type assertion isn't necessary as T already extends object
const onSelectionChange = useCallback( | ||
(selectedRows: ShortProcedureSetting[]) => { | ||
const newSelected = new Set( | ||
(selectedRows as unknown as ShortProcedureSetting[]).map( |
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.
I think this type assertion is unecessary
98e59e4
to
601011d
Compare
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.
👍
…rdingly)
Depends on release and pinning of: maykinmedia/admin-ui#160