Skip to content

Commit dee1741

Browse files
Robert Meyerwalkerkay
authored andcommitted
fix: expanded=false for groups ignored
1 parent cbe67e4 commit dee1741

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/gantt/src/gantt-upper.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ export abstract class GanttUpper implements OnChanges, OnInit, OnDestroy {
201201
}
202202

203203
private setupGroups() {
204-
const collapsedIds = this.groups.filter((group) => group.expanded === false).map((group) => group.id);
204+
const collapsedIds = this.originGroups.filter((group) => group.expanded === false).map((group) => group.id);
205205
this.groupsMap = {};
206206
this.groups = [];
207207
this.originGroups.forEach((origin) => {

0 commit comments

Comments
 (0)