Skip to content

Commit

Permalink
fix: fix empty table error
Browse files Browse the repository at this point in the history
  • Loading branch information
HandsomeButterball committed Aug 6, 2021
1 parent 42315c9 commit c6c0066
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/gantt/src/components/table/gantt-table.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ export class GanttTableComponent implements OnInit, OnChanges {
ngOnChanges(changes: SimpleChanges) {
if (!changes.groups.currentValue?.length && !changes.items.currentValue?.length) {
this.ganttTableEmptyClass = true;
} else {
this.ganttTableEmptyClass = false;
}
}

Expand Down

0 comments on commit c6c0066

Please sign in to comment.