Skip to content

Commit 5c186c3

Browse files
committed
[NAE-1711] Dashboard
- added resolution for grid, when col number is greater than 1 for tile
1 parent 8f2aeeb commit 5c186c3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

projects/netgrif-components/src/lib/data-fields/task-ref-field/task-ref-field.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ export class TaskRefFieldComponent extends AbstractTaskRefFieldComponent {
2424
}
2525

2626
getTileGridColumn(tile: TaskRefDashboardTile): string {
27-
return `${tile.x + 1} / ${tile.x + tile.cols}`;
27+
return `${tile.x + 1} / span ${tile.cols}`;
2828
}
2929

3030
getTileGridRow(tile: TaskRefDashboardTile): string {
31-
return `${tile.y + 1} / ${tile.y + tile.rows}`;
31+
return `${tile.y + 1} / span ${tile.rows}`;
3232
}
3333

3434
}

0 commit comments

Comments
 (0)