Skip to content

Commit db9fcd7

Browse files
committed
chore(*): Fix typo, remove unintentional this
1 parent 4525877 commit db9fcd7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

projects/igniteui-angular/src/lib/grids/grid-base.directive.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4843,8 +4843,8 @@ export abstract class IgxGridBaseDirective extends DisplayDensityBase implements
48434843
if (width && typeof width !== 'string') {
48444844
width = String(width);
48454845
}
4846-
const minWidth = this.width.indexOf('%') === -1 ? column.minWidthPx : column.minWidthPercent;
4847-
const maxWidth = this.width.indexOf('%') === -1 ? column.maxWidthPx : column.maxWidthPercent;
4846+
const minWidth = width.indexOf('%') === -1 ? column.minWidthPx : column.minWidthPercent;
4847+
const maxWidth = width.indexOf('%') === -1 ? column.maxWidthPx : column.maxWidthPercent;
48484848
if (column.hidden) {
48494849
return width;
48504850
}

0 commit comments

Comments
 (0)