mirror of
https://github.com/apache/superset.git
synced 2026-04-22 01:24:43 +00:00
fix(sql lab): View result button is not showing consistently (#20164)
This commit is contained in:
@@ -340,6 +340,12 @@ export default function sqlLabReducer(state = {}, action) {
|
||||
errorMessage: null,
|
||||
cached: false,
|
||||
};
|
||||
|
||||
const resultsKey = action?.results?.query?.resultsKey;
|
||||
if (resultsKey) {
|
||||
alts.resultsKey = resultsKey;
|
||||
}
|
||||
|
||||
return alterInObject(state, 'queries', action.query, alts);
|
||||
},
|
||||
[actions.QUERY_FAILED]() {
|
||||
|
||||
Reference in New Issue
Block a user