We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0939437 commit a02d935Copy full SHA for a02d935
1 file changed
src/material/grid-list/tile-coordinator.ts
@@ -94,10 +94,9 @@ export class TileCoordinator {
94
95
/** Finds the next available space large enough to fit the tile. */
96
private _findMatchingGap(tileCols: number): number {
97
- if (tileCols > this.tracker.length && (typeof ngDevMode === 'undefined' || ngDevMode)) {
+ if (tileCols > this.tracker.length) {
98
throw Error(
99
- `mat-grid-list: tile with colspan ${tileCols} is wider than ` +
100
- `grid with cols="${this.tracker.length}".`,
+ `mat-grid-list: tile with colspan ${tileCols} is wider than grid with cols="${this.tracker.length}".`,
101
);
102
}
103
0 commit comments