JosueLugaro commented on a change in pull request #17926: URL: https://github.com/apache/superset/pull/17926#discussion_r794110802
########## File path: superset-frontend/src/SqlLab/components/SqlEditorLeftBar/index.tsx ########## @@ -17,86 +17,100 @@ * under the License. */ import React from 'react'; -import PropTypes from 'prop-types'; import Button from 'src/components/Button'; -import { t, styled, css } from '@superset-ui/core'; +import { t, styled, css, SupersetTheme } from '@superset-ui/core'; import Collapse from 'src/components/Collapse'; import Icons from 'src/components/Icons'; import TableSelector from 'src/components/TableSelector'; import { IconTooltip } from 'src/components/IconTooltip'; -import TableElement from '../TableElement'; +import { QueryEditor } from 'src/SqlLab/types'; +import { DatabaseObject } from 'src/components/DatabaseSelector'; +import TableElement, { Table, TableElementProps } from '../TableElement'; -const propTypes = { - queryEditor: PropTypes.object.isRequired, - height: PropTypes.number, - tables: PropTypes.array, - actions: PropTypes.object, - database: PropTypes.object, - offline: PropTypes.bool, -}; +interface ExtendedTable extends Table { + expanded: any; Review comment: Changed the expanded type from any to boolean, which is what it was originally.👍 -- 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. To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org For additional commands, e-mail: notifications-h...@superset.apache.org