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

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

commit 25b7eb0ec9d3d93ae461599e0eb8071e6cbf70f3
Author: Michael S. Molina <[email protected]>
AuthorDate: Mon Mar 4 08:15:55 2024 -0500

    fix: Results section in Explore shows an infinite spinner (#27366)
    
    (cherry picked from commit 231e659b56617fcdefa7534e14ffcfe50a8c084c)
---
 .../src/explore/components/DataTablesPane/DataTablesPane.tsx           | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 
a/superset-frontend/src/explore/components/DataTablesPane/DataTablesPane.tsx 
b/superset-frontend/src/explore/components/DataTablesPane/DataTablesPane.tsx
index 15148be880..162f626901 100644
--- a/superset-frontend/src/explore/components/DataTablesPane/DataTablesPane.tsx
+++ b/superset-frontend/src/explore/components/DataTablesPane/DataTablesPane.tsx
@@ -123,7 +123,8 @@ export const DataTablesPane = ({
     if (
       panelOpen &&
       activeTabKey.startsWith(ResultTypes.Results) &&
-      chartStatus === 'rendered'
+      chartStatus &&
+      chartStatus !== 'loading'
     ) {
       setIsRequest({
         results: true,

Reply via email to