@zeedhi/zd-calendar-common 1.9.0 → 1.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -161,7 +161,7 @@ class Calendar extends ComponentRender {
161
161
  events.forEach((event) => {
162
162
  const index = this.calendarEvents.findIndex((item) => item.id === event.id);
163
163
  if (index !== -1) {
164
- this.calendarEvents[index] = event;
164
+ this.calendarEvents.splice(index, 1, event);
165
165
  }
166
166
  else {
167
167
  this.calendarEvents.push(event);
@@ -164,7 +164,7 @@
164
164
  events.forEach((event) => {
165
165
  const index = this.calendarEvents.findIndex((item) => item.id === event.id);
166
166
  if (index !== -1) {
167
- this.calendarEvents[index] = event;
167
+ this.calendarEvents.splice(index, 1, event);
168
168
  }
169
169
  else {
170
170
  this.calendarEvents.push(event);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zeedhi/zd-calendar-common",
3
- "version": "1.9.0",
3
+ "version": "1.10.0",
4
4
  "description": "Powered by Zeedhi",
5
5
  "main": "dist/calendar-common.umd.js",
6
6
  "module": "dist/calendar-common.esm.js",
@@ -23,5 +23,5 @@
23
23
  "@zeedhi/common": "^1.57.0",
24
24
  "@zeedhi/core": "^1.57.0"
25
25
  },
26
- "gitHead": "25673dad39b7ff95d94c2dbef246f4249a51e916"
26
+ "gitHead": "dd59f4e8c978992b6d81140c771147528f7f1f20"
27
27
  }