Skip to content

Commit

Permalink
Revert "Autocomplete in the table browser in SQL lab is broken (#7736)…
Browse files Browse the repository at this point in the history
…" (#7743)

* Revert "Autocomplete in the table browser in SQL lab is broken (#7736)"

This reverts commit d1b81e0.

* Kick off build
  • Loading branch information
khtruong authored and betodealmeida committed Jun 21, 2019
1 parent d1b81e0 commit 17c4b72
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions superset/assets/src/components/TableSelector.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -130,12 +130,7 @@ export default class TableSelector extends React.PureComponent {
`${encodeURIComponent(schema)}/${encodeURIComponent(substr)}/${forceRefresh}/`);
return SupersetClient.get({ endpoint })
.then(({ json }) => {
const filterOptions = createFilterOptions({
options: json.options.map(o => ({
value: o.value.table,
label: o.label,
})),
});
const filterOptions = createFilterOptions({ options: json.options });
this.setState(() => ({
filterOptions,
tableLoading: false,
Expand Down

0 comments on commit 17c4b72

Please sign in to comment.