We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3ab3aad commit b921eb9Copy full SHA for b921eb9
src/workspacesProvider.ts
@@ -16,6 +16,10 @@ export class WorkspaceProvider implements vscode.TreeDataProvider<vscode.TreeIte
16
private agentMetadata: Record<WorkspaceAgent["id"], AgentMetadataEvent[]> = {}
17
18
constructor(private readonly getWorkspacesQuery: WorkspaceQuery, private readonly storage: Storage) {
19
+ if (!storage.getURL()) {
20
+ // Not logged in.
21
+ return
22
+ }
23
getWorkspaces({ q: this.getWorkspacesQuery })
24
.then((workspaces) => {
25
const workspacesTreeItem: WorkspaceTreeItem[] = []
0 commit comments