mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-26 09:35:38 -05:00
model view remove and insert components (#2351)
* added the ability to remove a component from a container to insert it to a position
This commit is contained in:
@@ -123,12 +123,11 @@ export default class TreeComponent extends ComponentBase implements IComponent,
|
||||
/// IComponent implementation
|
||||
|
||||
public layout(): void {
|
||||
this._changeRef.detectChanges();
|
||||
if (this._tree) {
|
||||
|
||||
this.layoutTree();
|
||||
this._tree.refresh();
|
||||
}
|
||||
super.layout();
|
||||
}
|
||||
|
||||
private layoutTree(): void {
|
||||
|
||||
Reference in New Issue
Block a user