From commits-return-2855-archive-asf-public=cust-asf.ponee.io@superset.incubator.apache.org Fri Jun 21 02:47:57 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id BF37A180670 for ; Fri, 21 Jun 2019 04:47:56 +0200 (CEST) Received: (qmail 23624 invoked by uid 500); 21 Jun 2019 02:47:56 -0000 Mailing-List: contact commits-help@superset.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@superset.incubator.apache.org Delivered-To: mailing list commits@superset.incubator.apache.org Received: (qmail 23613 invoked by uid 99); 21 Jun 2019 02:47:56 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Jun 2019 02:47:56 +0000 Received: by gitbox.apache.org (ASF Mail Server at gitbox.apache.org, from userid 33) id F2E7787AD7; Fri, 21 Jun 2019 02:47:50 +0000 (UTC) Date: Fri, 21 Jun 2019 02:47:50 +0000 To: "commits@superset.apache.org" Subject: [incubator-superset] branch master updated: Revert "Autocomplete in the table browser in SQL lab is broken (#7736)" (#7743) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Message-ID: <156108527040.788.1989875467310617898@gitbox.apache.org> From: beto@apache.org X-Git-Host: gitbox.apache.org X-Git-Repo: incubator-superset X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: d1b81e04ac7a8d4e877471432c9bccbd7b369f81 X-Git-Newrev: 17c4b72183c33bcfb2139ad52cbfabb991c11336 X-Git-Rev: 17c4b72183c33bcfb2139ad52cbfabb991c11336 X-Git-NotificationType: ref_changed_plus_diff X-Git-Multimail-Version: 1.5.dev Auto-Submitted: auto-generated 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,