Fixed when right clicking and selecting Manage-correct name displays (#2794)

This commit is contained in:
Todd Ortmann
2018-10-12 11:15:05 -07:00
committed by Matt Irvine
parent 5c77e752f6
commit 7f11d44130
2 changed files with 2 additions and 2 deletions

View File

@@ -60,7 +60,7 @@ export class BreadcrumbService implements IBreadcrumbService {
}
private getServerBreadcrumb(profile: ConnectionProfile): MenuItem {
return { label: profile.serverName, routerLink: ['server-dashboard'] };
return profile.connectionName ? { label: profile.connectionName, routerLink: ['server-dashboard'] } : { label: profile.serverName, routerLink: ['server-dashboard'] };
}
private getDbBreadcrumb(profile: ConnectionProfile): MenuItem {