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

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

commit 1d141be463fbf99aa6b77b3be797a89f7341a45e
Author: Diego Medina <[email protected]>
AuthorDate: Wed Apr 20 02:18:46 2022 -0400

    fix: SQL Lab UI Error: Objects are not valid as a React child (#19783)
    
    (cherry picked from commit dfba9ea596605dc11b29ca1c82615db539e394b2)
---
 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 50a3b626a6..f76f23bdfb 100644
--- a/superset-frontend/src/SqlLab/components/QueryTable/index.tsx
+++ b/superset-frontend/src/SqlLab/components/QueryTable/index.tsx
@@ -252,6 +252,8 @@ const QueryTable = ({
               responsive
             />
           );
+        } else {
+          q.results = <></>;
         }
 
         q.progress =

Reply via email to