diff --git a/src/app/examples/grid-composite-editor.component.ts b/src/app/examples/grid-composite-editor.component.ts index 466f4b29..ffa98cce 100644 --- a/src/app/examples/grid-composite-editor.component.ts +++ b/src/app/examples/grid-composite-editor.component.ts @@ -583,7 +583,7 @@ export class GridCompositeEditorComponent implements OnDestroy, OnInit { finish: isCompleted || (i % 3 === 0 && randomFinish > new Date() && i > 3) ? (isCompleted ? new Date() : randomFinish) : '', // make sure the random date is earlier than today and it's index is bigger than 3 cost: i % 33 === 0 ? null : Math.round(Math.random() * 10000) / 100, - completed: isCompleted || (i % 3 === 0 && randomFinish > new Date() && i > 3), + completed: (isCompleted && i > 5) || (i % 3 === 0 && randomFinish > new Date() && i > 3), product: { id: this.mockProducts()[randomItemId]?.id, itemName: this.mockProducts()[randomItemId]?.itemName }, origin: i % 2 ? { code: 'CA', name: 'Canada' } : { code: 'US', name: 'United States' }, };