File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -202,7 +202,7 @@ export class GridRow {
202202 private readonly _grid = inject ( Grid ) ;
203203
204204 /** The parent grid UI pattern. */
205- readonly grid = computed ( ( ) => this . _grid . _pattern ) ;
205+ readonly _gridPattern = computed ( ( ) => this . _grid . _pattern ) ;
206206
207207 /** The index of this row within the grid. */
208208 readonly rowIndex = input < number > ( ) ;
@@ -211,6 +211,7 @@ export class GridRow {
211211 readonly _pattern = new GridRowPattern ( {
212212 ...this ,
213213 cells : this . _cellPatterns ,
214+ grid : this . _gridPattern ,
214215 } ) ;
215216}
216217
@@ -318,7 +319,7 @@ export class GridCell {
318319 /** The UI pattern for the grid cell. */
319320 readonly _pattern = new GridCellPattern ( {
320321 ...this ,
321- grid : this . _row . grid ,
322+ grid : this . _row . _gridPattern ,
322323 row : ( ) => this . _row . _pattern ,
323324 widgets : this . _widgetPatterns ,
324325 getWidget : e => this . _getWidget ( e ) ,
You can’t perform that action at this time.
0 commit comments