Skip to content

Commit

Permalink
fix(gantt): first set time bar background error because old data also…
Browse files Browse the repository at this point in the history
… set width(#INFR-7096)
  • Loading branch information
xinglu01 authored and HandsomeButterball committed Mar 29, 2023
1 parent 1c66611 commit b801d41
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/gantt/src/gantt-item-upper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ export abstract class GanttItemUpper implements OnChanges, OnInit, OnDestroy {
this.refsUnsubscribe$.next();
this.refsUnsubscribe$.complete();
this.item = item;
this.setPositions();
this.item.refs$.pipe(takeUntil(this.refsUnsubscribe$)).subscribe(() => {
this.setPositions();
});
Expand Down

0 comments on commit b801d41

Please sign in to comment.