Skip to content
This repository was archived by the owner on Dec 21, 2022. It is now read-only.

Commit a00fa05

Browse files
IIsakummehmetAliIzci
authored andcommitted
fix(calendar): start date attribute change
- When the start date attribute changes, the calendar will actually respond to this change by setting the view dates and loading new events
1 parent bb97367 commit a00fa05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages-web/calendar/src/components/CalendarContainer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ export default class CalendarContainer extends Component<Container.CalendarConta
228228
window.mx.data.subscribe({
229229
guid: mxObject.getGuid(),
230230
attr: this.props.startDateAttribute,
231-
callback: () => this.getStartPosition(mxObject)
231+
callback: () => this.loadEvents(mxObject)
232232
})
233233
);
234234
this.subscriptionContextHandles.push(

0 commit comments

Comments
 (0)