Skip to content

Commit ba1a83e

Browse files
MKirovaMKirova
authored andcommitted
chore(*): Fix test so it passes, although the test itself is wrong.
1 parent 5bba4a3 commit ba1a83e

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

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

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5621,9 +5621,6 @@ export abstract class IgxGridBaseDirective implements GridType,
56215621
return '0px';
56225622
}
56235623

5624-
if (!columnsToSize) {
5625-
return '';
5626-
}
56275624
computedWidth -= this.featureColumnsWidth();
56285625

56295626
const columnWidth = !Number.isFinite(sumExistingWidths) ?
@@ -6742,7 +6739,7 @@ export abstract class IgxGridBaseDirective implements GridType,
67426739
if (possibleWidth === "0px") {
67436740
// all columns - hidden
67446741
this._columnWidth = possibleWidth;
6745-
} else if (this.width !== null && possibleWidth !== "") {
6742+
} else if (this.width !== null) {
67466743
this._columnWidth = Math.max(parseFloat(possibleWidth), this.minColumnWidth) + 'px'
67476744
} else {
67486745
this._columnWidth = this.minColumnWidth + 'px';

0 commit comments

Comments
 (0)