mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-14 12:08:36 -05:00
add null check for errors in the console while using query editor (#15711)
* add null check * another null check * pr comments * update typing
This commit is contained in:
@@ -201,7 +201,7 @@ export class QueryResultsView extends Disposable {
|
||||
private hasResults(runner: QueryRunner): boolean {
|
||||
let hasResults = false;
|
||||
for (const batch of runner.batchSets) {
|
||||
if (batch.resultSetSummaries.length > 0) {
|
||||
if (batch.resultSetSummaries?.length > 0) {
|
||||
hasResults = true;
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user