* Revert "Autocomplete in the table browser in SQL lab is broken (#7736)"
This reverts commit d1b81e04ac.
* Kick off build
This commit is contained in:
parent
d1b81e04ac
commit
17c4b72183
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue