You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by mi...@apache.org on 2024/03/04 15:59:56 UTC

(superset) 04/04: fix: Results section in Explore shows an infinite spinner (#27366)

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

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

commit a45f27eb9ce1f00ac51b4f7eca0e6e2b834a0396
Author: Michael S. Molina <70...@users.noreply.github.com>
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 726f3ea468..60b65c6ffc 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,