Skip to content

Commit

Permalink
Merge b612e0c into e644f54
Browse files Browse the repository at this point in the history
  • Loading branch information
Aditya Bist committed Jan 16, 2020
2 parents e644f54 + b612e0c commit b2ebb51
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/objectExplorer/objectExplorerUtils.ts
Expand Up @@ -41,7 +41,8 @@ export class ObjectExplorerUtils {
}

public static getDatabaseName(node: TreeNodeInfo): string {
if (node.nodeType === Constants.serverLabel) {
if (node.nodeType === Constants.serverLabel ||
node.nodeType === Constants.disconnectedServerLabel) {
return node.connectionCredentials.database;
}
while (node) {
Expand Down

0 comments on commit b2ebb51

Please sign in to comment.