chore: fix tests

This commit is contained in:
mathuo 2021-11-16 21:32:16 +00:00
parent 3b2214d6b6
commit c989b80e00
No known key found for this signature in database
GPG Key ID: C6EEDEFD6CA07281

View File

@ -436,12 +436,7 @@ export class Groupview extends CompositeDisposable implements IGroupview {
};
private doClose(panel: IGroupPanel) {
this.removePanel(panel);
this._removePanel(panel);
if (this.panels.length === 0) {
this.accessor.removeGroup(this.parent);
}
this.accessor.removePanel(panel);
}
public isPanelActive(panel: IGroupPanel) {