mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-22 01:25:38 -05:00
Add AsyncServerTree (#11838)
* wip * Fixes * More fixes * more fixes * Disable when preview features disabled * remove unused imports * Handle promises * PR feedback * Single default ServerGroup color value
This commit is contained in:
@@ -23,6 +23,7 @@ export class ConnectionProfileGroup extends Disposable implements IConnectionPro
|
||||
private _childConnections: ConnectionProfile[] = [];
|
||||
public parentId?: string;
|
||||
private _isRenamed = false;
|
||||
public readonly isRoot: boolean = false;
|
||||
public constructor(
|
||||
public name: string,
|
||||
public parent: ConnectionProfileGroup | undefined,
|
||||
@@ -34,6 +35,7 @@ export class ConnectionProfileGroup extends Disposable implements IConnectionPro
|
||||
this.parentId = parent ? parent.id : undefined;
|
||||
if (this.name === ConnectionProfileGroup.RootGroupName) {
|
||||
this.name = '';
|
||||
this.isRoot = true;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user