superset-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <>
Subject [GitHub] [incubator-superset] ktmud commented on a change in pull request #9628: feat: upgrade react-select and make multi-select sortable
Date Wed, 13 May 2020 22:00:31 GMT

ktmud commented on a change in pull request #9628:

File path: superset-frontend/src/components/ListView/LegacyFilters.tsx
@@ -67,9 +63,10 @@ export const FilterMenu = ({
-            onSelect={(fltr: typeof ft) =>
-              setInternalFilters([...internalFilters, fltr])
-            }
+            // @ts-ignore

Review comment:
       > Type 'MouseEvent<{}, MouseEvent>' is missing the following properties from
type '{ Header: string; id: string; value: undefined; }': Header, id, value
   Inconsistent callback function signature. onSelect in MenuItem expects an event, but the
callback seems to be expecting the fltr type (bad variable name btw).
   Didn't want to change the actual code and didn't dig too deep into how to make it proper,
since this file is going to be deprecated anyway (@nytai is working on a new ListView).

This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message