Skip to content

Commit

Permalink
slick removal
Browse files Browse the repository at this point in the history
  • Loading branch information
ashklianko committed Sep 23, 2024
1 parent 8028561 commit 6ba59fa
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
5 changes: 3 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import {TreeGridActions} from '../../ui/treegrid/actions/TreeGridActions';
import {SplitPanel, SplitPanelAlignment, SplitPanelBuilder} from '../../ui/panel/SplitPanel';
import {Panel} from '../../ui/panel/Panel';
import {Toolbar, ToolbarConfig} from '../../ui/toolbar/Toolbar';
import {TreeGrid} from '../../ui/treegrid/TreeGrid';
import {BrowseFilterPanel} from './filter/BrowseFilterPanel';
import {Action} from '../../ui/Action';
import {DefaultErrorHandler} from '../../DefaultErrorHandler';
Expand Down Expand Up @@ -236,7 +235,7 @@ export class BrowsePanel
}

protected createListBoxPanel(): SelectableListBoxPanel<ViewItem> {
throw 'Must be implemented by inheritors';
throw Error('Must be implemented by inheritors');
}

protected createBrowseItemPanel(): BrowseItemPanel {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,11 @@ export abstract class TreeListElement<I>

protected initListeners(): void {
this.toggleElement.onClicked(() => {
this.expanded ? this.collapse() : this.expand();
if (this.expanded) {
this.collapse();
} else {
this.expand();
}
});

this.childrenList.onItemsRemoved(() => {
Expand Down

0 comments on commit 6ba59fa

Please sign in to comment.