Skip to content

Commit 13c3f89

Browse files
committed
fix: nanofixes
1 parent 8f64bdf commit 13c3f89

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

src/containers/Tenant/Query/QueryEditorControls/QueryEditorControls.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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({

src/containers/Tenant/Query/QueryResult/components/ResultSetsViewer/ResultSetsViewer.tsx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)