You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by hu...@apache.org on 2021/01/08 18:57:19 UTC

[superset] branch hotfix-sqllab-dataset-query created (now 3ff13ba)

This is an automated email from the ASF dual-hosted git repository.

hugh pushed a change to branch hotfix-sqllab-dataset-query
in repository https://gitbox.apache.org/repos/asf/superset.git.


      at 3ff13ba  Update ResultSet.tsx

This branch includes the following new commits:

     new 3ff13ba  Update ResultSet.tsx

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[superset] 01/01: Update ResultSet.tsx

Posted by hu...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

hugh pushed a commit to branch hotfix-sqllab-dataset-query
in repository https://gitbox.apache.org/repos/asf/superset.git

commit 3ff13bae72e31a22df1c9818079467a5630c8cea
Author: Hugh A. Miles II <hu...@gmail.com>
AuthorDate: Fri Jan 8 13:56:42 2021 -0500

    Update ResultSet.tsx
---
 superset-frontend/src/SqlLab/components/ResultSet.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/superset-frontend/src/SqlLab/components/ResultSet.tsx b/superset-frontend/src/SqlLab/components/ResultSet.tsx
index 51d5d9e..9b60c4d 100644
--- a/superset-frontend/src/SqlLab/components/ResultSet.tsx
+++ b/superset-frontend/src/SqlLab/components/ResultSet.tsx
@@ -171,7 +171,7 @@ export default class ResultSet extends React.PureComponent<
       appContainer?.getAttribute('data-bootstrap') || '{}',
     );
 
-    if (bootstrapData.user && bootstrapData.user.id) {
+    if (bootstrapData.user && bootstrapData.user.userId) {
       const datasets = await getByUser(bootstrapData.user.userId);
       const userDatasetsOwned = datasets.map(
         (r: { table_name: string; id: number }) => ({