File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
src/containers/Tenant/Query
QueryResult/components/ResultSetsViewer Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ export const QueryEditorControls = ({
7474 if ( isStreamingEnabled && runningQueryRef . current ) {
7575 runningQueryRef . current . abort ( ) ;
7676 } else if ( queryId ) {
77- sendCancelQuery ( { queryId, database : tenantName } ) . unwrap ( ) ;
77+ await sendCancelQuery ( { queryId, database : tenantName } ) . unwrap ( ) ;
7878 }
7979 } catch {
8080 createToast ( {
Original file line number Diff line number Diff line change @@ -43,9 +43,11 @@ export function ResultSetsViewer(props: ResultSetsViewerProps) {
4343 < Text color = "secondary" > { resultSet . result ?. length || 0 } </ Text >
4444 </ div >
4545 ) ,
46- label : {
47- content : `${ rowsPerSecondFormatted } rows/s` ,
48- } ,
46+ label : rowsPerSecondFormatted
47+ ? {
48+ content : `${ rowsPerSecondFormatted } rows/s` ,
49+ }
50+ : undefined ,
4951 } ;
5052 } ) || [ ] ;
5153
You can’t perform that action at this time.
0 commit comments