You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by vi...@apache.org on 2022/04/20 06:18:55 UTC

[superset] branch master updated: fix: SQL Lab UI Error: Objects are not valid as a React child (#19783)

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

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


The following commit(s) were added to refs/heads/master by this push:
     new dfba9ea596 fix: SQL Lab UI Error: Objects are not valid as a React child (#19783)
dfba9ea596 is described below

commit dfba9ea596605dc11b29ca1c82615db539e394b2
Author: Diego Medina <di...@gmail.com>
AuthorDate: Wed Apr 20 02:18:46 2022 -0400

    fix: SQL Lab UI Error: Objects are not valid as a React child (#19783)
---
 superset-frontend/src/SqlLab/components/QueryTable/index.tsx | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/superset-frontend/src/SqlLab/components/QueryTable/index.tsx b/superset-frontend/src/SqlLab/components/QueryTable/index.tsx
index dffb65a1f1..a50779d6eb 100644
--- a/superset-frontend/src/SqlLab/components/QueryTable/index.tsx
+++ b/superset-frontend/src/SqlLab/components/QueryTable/index.tsx
@@ -254,6 +254,8 @@ const QueryTable = ({
               responsive
             />
           );
+        } else {
+          q.results = <></>;
         }
 
         q.progress =