Skip to content

Commit fc35b5f

Browse files
Copilothotlong
andcommitted
Add explanatory comment for gantt schema type workaround
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
1 parent 8de119b commit fc35b5f

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

apps/console/src/components/ObjectView.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,8 @@ export function ObjectView({ dataSource, objects, onEdit }: any) {
124124
schema={{
125125
type: 'object-grid',
126126
objectName: objectDef.name,
127+
// Gantt config is read by ObjectGantt via getGanttConfig helper
128+
// TypeScript workaround: gantt property not in ObjectGridSchema but supported by implementation
127129
gantt: {
128130
startDateField: activeView.startDateField || 'start_date',
129131
endDateField: activeView.endDateField || 'end_date',

0 commit comments

Comments
 (0)