michael-s-molina commented on code in PR #19598:
URL: https://github.com/apache/superset/pull/19598#discussion_r847590146


##########
superset-frontend/src/SqlLab/components/SqlEditor/index.jsx:
##########
@@ -756,7 +758,16 @@ class SqlEditor extends React.PureComponent {
             />
           </div>
         </CSSTransition>
-        {this.queryPane()}
+        {this.props.sqlLab.dbConnect
+          ? 
+          this.queryPane() 
+          : 
+          <EmptyStateBig 
+            image="vector.svg" 
+            title="Select a database to write a query" 
+            description="Choose one of the avaialable database on the left" 

Review Comment:
   ```suggestion
               description="Choose one of the available database on the left" 
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to