Fix for Select Connection not showing up in Attach To (#3860)

This commit is contained in:
Chris LaFreniere
2019-01-30 16:22:01 -08:00
committed by GitHub
parent 8a7bbd1795
commit 9a371f8998

View File

@@ -99,6 +99,8 @@ export class NotebookContexts {
defaultConnection = connections.find(connection => connection.serverName === profile.serverName);
}
}
} else if (connections.length === 0) {
return NotebookContexts.DefaultContext;
}
activeConnections = [];
connections.forEach(connection => activeConnections.push(connection));