prosdev0107 opened a new pull request #19358:
URL: https://github.com/apache/superset/pull/19358


   ### SUMMARY
   Hide Delete Action on Most Recently Run Query
   
   ### BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
   BEFORE:
   After deleting the most recently query, clear the result tab.
   
![image](https://user-images.githubusercontent.com/47900232/159974482-01fb95e4-35b9-4afd-95b7-c92b9d29e115.png)
   
![image](https://user-images.githubusercontent.com/47900232/159974378-88c79636-e5e3-4ed8-a9de-be1922755f06.png)
   
   AFTER:
   The result tab is not cleared by hiding the delete action on Most recent run 
query
   
![image](https://user-images.githubusercontent.com/47900232/159974180-dcc3f1f2-5438-4cf7-b062-bd4ae38b37d0.png)
   
   ### TESTING INSTRUCTIONS
   **How to reproduce the issue**
   
   1. In SQL Lab, run 2 queries
   2. In the query history tab of SQL Lab, delete the most recent query
   3. Deleting the most recent query also clears your query results tab
   4. Should not clear query results tab.
   
   ### ADDITIONAL INFORMATION
   <!--- Check any relevant boxes with "x" -->
   <!--- HINT: Include "Fixes #nnn" if you are fixing an existing issue -->
   - [ ] Has associated issue:
   - [ ] Required feature flags:
   - [ ] Changes UI
   - [ ] Includes DB Migration (follow approval process in 
[SIP-59](https://github.com/apache/superset/issues/13351))
     - [ ] Migration is atomic, supports rollback & is backwards-compatible
     - [ ] Confirm DB migration upgrade and downgrade tested
     - [ ] Runtime estimates and downtime expectations provided
   - [ ] Introduces new feature or API
   - [ ] Removes existing feature or API
   


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