We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 96126e3 commit c3cbdfbCopy full SHA for c3cbdfb
1 file changed
src/PawSQLSidebarProvider.ts
@@ -350,7 +350,12 @@ export class PawSQLTreeProvider
350
try {
351
// Reset all validation states first
352
this.isConfigValid = false;
353
-
+ if (!backendUrl || !frontendUrl || !apiKey) {
354
+ this.isConfigValid = false;
355
+ vscode.commands.executeCommand("setContext", "isConfigured", false);
356
+ this.workspaces = [];
357
+ return;
358
+ }
359
const backendResult = await validateBackend(backendUrl ?? "");
360
361
const isBackendConnected = backendResult.isAvailable;
0 commit comments