in src/app/components/queues-view/queues-view.component.ts [127:138]
toggleQueueChildrenView(data: ToggleQueueChildrenEvent) {
const isExpanded = data.queueItem.isExpanded;
const children = data.queueItem.children;
if (isExpanded && data.nextLevel && children) {
this.queueList[data.nextLevel] = this.sortQueueListByName(children);
} else {
this.queueList[data.nextLevel] = null;
this.closeQueueRacks(data.nextLevel);
this.collapseChildrenQueues(data.queueItem);
this.closeQueueDrawer();
}
}