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/12/16 20:28:17 UTC

[superset] branch rm-pg-bar created (now ad37d85)

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

hugh pushed a change to branch rm-pg-bar
in repository https://gitbox.apache.org/repos/asf/superset.git.


      at ad37d85  lit

This branch includes the following new commits:

     new ad37d85  lit

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: lit

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

hugh pushed a commit to branch rm-pg-bar
in repository https://gitbox.apache.org/repos/asf/superset.git

commit ad37d856b72cb11262b22d0e11eee81cd49a9629
Author: hughhhh <hu...@gmail.com>
AuthorDate: Thu Dec 16 15:26:59 2021 -0500

    lit
---
 .../src/SqlLab/components/ResultSet/index.tsx              | 14 +++-----------
 1 file changed, 3 insertions(+), 11 deletions(-)

diff --git a/superset-frontend/src/SqlLab/components/ResultSet/index.tsx b/superset-frontend/src/SqlLab/components/ResultSet/index.tsx
index 770b789..7dc9ec1 100644
--- a/superset-frontend/src/SqlLab/components/ResultSet/index.tsx
+++ b/superset-frontend/src/SqlLab/components/ResultSet/index.tsx
@@ -801,16 +801,7 @@ export default class ResultSet extends React.PureComponent<
         );
       }
     }
-    let progressBar;
     let trackingUrl;
-    if (query.progress > 0) {
-      progressBar = (
-        <ProgressBar
-          percent={parseInt(query.progress.toFixed(0), 10)}
-          striped
-        />
-      );
-    }
     if (query.trackingUrl) {
       trackingUrl = (
         <Button
@@ -827,12 +818,13 @@ export default class ResultSet extends React.PureComponent<
         : null;
     return (
       <div style={LOADING_STYLES}>
-        <div>{!progressBar && <Loading position="normal" />}</div>
+        <div>
+          <Loading position="normal" />
+        </div>
         <QueryStateLabel query={query} />
         <div>
           {progressMsg && <Alert type="success" message={progressMsg} />}
         </div>
-        <div>{progressBar}</div>
         <div>{trackingUrl}</div>
       </div>
     );