Skip to content

Commit dcfdb95

Browse files
committed
test(app-shell): the widget leak sweep mounts object-calendar with its binding in the calendar block
Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WGufzevL8Q6rTfGz2XHXGT
1 parent b2eea18 commit dcfdb95

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

‎ui/packages/app-shell/src/__tests__/widget-dom-leak-sweep.test.tsx‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -585,10 +585,11 @@ const OBJECT_CHART_EXTRAS = {
585585
data: CHART_DATA,
586586
series: CHART_SERIES,
587587
};
588+
// The binding lives in the `calendar` block, the one spelling `ObjectCalendar`
589+
// reads since objectstack#25923 retired its flat fallback.
588590
const CALENDAR_OBJECT_EXTRAS = {
589591
objectName: 'accounts',
590-
startDateField: 'start_at',
591-
titleField: 'name',
592+
calendar: { startDateField: 'start_at', titleField: 'name' },
592593
};
593594

594595
/* ── `packages/components`: the renderer family objectui#5574 widened this to ──

0 commit comments

Comments
 (0)