Remove/comment out connection title generation from all areas. (#23873)

This commit is contained in:
Alex Ma
2023-07-18 10:47:50 -07:00
committed by GitHub
parent 992b19fe93
commit a0a685bbcf
25 changed files with 30 additions and 1189 deletions

View File

@@ -85,14 +85,11 @@ export class DashboardInput extends EditorInput {
}
let name = this.connectionProfile.connectionName ? this.connectionProfile.connectionName : this.connectionProfile.serverName
if (!this.connectionProfile.connectionName && this.connectionProfile.databaseName
if (this.connectionProfile.databaseName
&& !this.isMasterMssql()) {
// Only add DB name if this is a non-default, non-master connection
name = name + ':' + this.connectionProfile.databaseName;
}
// Append any differing options if needed.
name += this._connectionService.getEditorConnectionProfileTitle(this.connectionProfile, true, true)
return name;
}