superset-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b...@apache.org
Subject [incubator-superset] branch master updated: Revert "Autocomplete in the table browser in SQL lab is broken (#7736)" (#7743)
Date Fri, 21 Jun 2019 02:47:50 GMT
This is an automated email from the ASF dual-hosted git repository.

beto pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git


The following commit(s) were added to refs/heads/master by this push:
     new 17c4b72  Revert "Autocomplete in the table browser in SQL lab is broken (#7736)"
(#7743)
17c4b72 is described below

commit 17c4b72183c33bcfb2139ad52cbfabb991c11336
Author: Kim Truong <47833996+khtruong@users.noreply.github.com>
AuthorDate: Thu Jun 20 19:47:39 2019 -0700

    Revert "Autocomplete in the table browser in SQL lab is broken (#7736)" (#7743)
    
    * Revert "Autocomplete in the table browser in SQL lab is broken (#7736)"
    
    This reverts commit d1b81e04ac7a8d4e877471432c9bccbd7b369f81.
    
    * Kick off build
---
 superset/assets/src/components/TableSelector.jsx | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/superset/assets/src/components/TableSelector.jsx b/superset/assets/src/components/TableSelector.jsx
index 4d5fbc9..6d232d4 100644
--- a/superset/assets/src/components/TableSelector.jsx
+++ b/superset/assets/src/components/TableSelector.jsx
@@ -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,


Mime
View raw message