Skip to content

Commit

Permalink
Merge branch 'master' into OE/expansion
Browse files Browse the repository at this point in the history
  • Loading branch information
Aditya Bist committed Jan 16, 2020
2 parents debc994 + 8667d80 commit e417eaf
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 e417eaf

Please sign in to comment.