Skip to content

Commit

Permalink
fix(*): build errors due to displayDensity changes #3310
Browse files Browse the repository at this point in the history
  • Loading branch information
SAndreeva committed Jan 4, 2019
1 parent b48f0fb commit 0562bd2
Showing 1 changed file with 1 addition and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,15 +70,8 @@ export class IgxSummaryRowComponent implements DoCheck {
return this.element.nativeElement;
}

// TO DO: to be refactored when displayDensity refactoring is merged
get gridDensity(): string {
if (this.grid.isCosy()) {
return DisplayDensity.cosy;
} else if (this.grid.isCompact()) {
return DisplayDensity.compact;
} else {
return DisplayDensity.comfortable;
}
return this.grid.displayDensity || DisplayDensity.comfortable;
}

public getColumnSummaries(columnName) {
Expand Down

0 comments on commit 0562bd2

Please sign in to comment.