mirror of
https://github.com/apache/superset.git
synced 2026-04-20 16:44:46 +00:00
chore: type ResultSet.tsx (#10226)
This commit is contained in:
@@ -324,16 +324,14 @@ export default function sqlLabReducer(state = {}, action) {
|
||||
});
|
||||
},
|
||||
[actions.QUERY_SUCCESS]() {
|
||||
let rows;
|
||||
if (action.results.data) {
|
||||
rows = action.results.data.length;
|
||||
}
|
||||
const alts = {
|
||||
endDttm: now(),
|
||||
progress: 100,
|
||||
results: action.results,
|
||||
rows,
|
||||
rows: action?.results?.data?.length,
|
||||
state: 'success',
|
||||
tempSchema: action?.results?.query?.tempSchema,
|
||||
tempTable: action?.results?.query?.tempTable,
|
||||
errorMessage: null,
|
||||
cached: false,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user