mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-26 17:23:15 -05:00
Remove/comment out connection title generation from all areas. (#23873)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user