mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-03 17:23:42 -05:00
Feature: Ability to add connection name (#2332)
This commit is contained in:
@@ -144,6 +144,7 @@ export class AddServerAction extends Action {
|
||||
|
||||
public run(element: ConnectionProfileGroup): TPromise<boolean> {
|
||||
let connection: IConnectionProfile = element === undefined ? undefined : {
|
||||
connectionName: undefined,
|
||||
serverName: undefined,
|
||||
databaseName: undefined,
|
||||
userName: undefined,
|
||||
|
||||
@@ -160,7 +160,7 @@ export class ServerTreeRenderer implements IRenderer {
|
||||
}
|
||||
|
||||
templateData.label.textContent = label;
|
||||
templateData.root.title = label;
|
||||
templateData.root.title = connection.serverInfo;
|
||||
templateData.connectionProfile = connection;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user