Skip to content

Commit

Permalink
Fix a bug when updating the datasource using the setDataSource function
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul-DS committed Mar 25, 2019
1 parent ddb833c commit fe7b072
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ts/js-year-calendar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1602,6 +1602,7 @@ export default class Calendar<T extends CalendarDataSourceElement> {
});
}
else {
this._dataSource = this.options.dataSource;
this._initializeDatasourceColors();
if (!preventRendering) {
this.render();
Expand Down

0 comments on commit fe7b072

Please sign in to comment.