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

beto pushed a commit to tag 1.1.0rc2
in repository https://gitbox.apache.org/repos/asf/superset.git

commit a4e8c0a5a17525e9cd823d7d73aa6c9c95a19efc
Author: Maxime Beauchemin <[email protected]>
AuthorDate: Tue Mar 16 21:47:39 2021 -0700

    fix: 'Run in SQL Lab' redirect bug (#13657)
---
 superset-frontend/src/chart/chartAction.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/superset-frontend/src/chart/chartAction.js 
b/superset-frontend/src/chart/chartAction.js
index 74ed410..a3bc368 100644
--- a/superset-frontend/src/chart/chartAction.js
+++ b/superset-frontend/src/chart/chartAction.js
@@ -494,7 +494,7 @@ export function redirectSQLLab(formData) {
   return dispatch => {
     getChartDataRequest({ formData, resultFormat: 'json', resultType: 'query' 
})
       .then(({ result }) => {
-        const redirectUrl = '/superset/sqllab';
+        const redirectUrl = '/superset/sqllab/';
         const payload = {
           datasourceKey: formData.datasource,
           sql: result[0].query,

Reply via email to