mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-26 17:23:15 -05:00
Adding collapse all to OE (#23132)
This commit is contained in:
@@ -952,4 +952,12 @@ export class ServerTreeView extends Disposable implements IServerTreeView {
|
||||
}
|
||||
return actionContext;
|
||||
}
|
||||
|
||||
public collapseAllConnections(): void {
|
||||
const root = TreeUpdateUtils.getTreeInput(this._connectionManagementService)!;
|
||||
const connections = ConnectionProfileGroup.getConnectionsInGroup(root);
|
||||
connections.forEach(con => {
|
||||
this._tree!.collapse(con, true);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user