@sprucelabs/spruce-calendar-components 25.6.3 → 25.6.4

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.
@@ -185,9 +185,10 @@ class CalendarEventManager {
185
185
  this.calendarVc.updateEvent(id, Object.assign(Object.assign({}, rest), { shouldPersist }));
186
186
  const idx = this.allEvents.findIndex((e) => e.id === id);
187
187
  this.allEvents[idx] = Object.assign(Object.assign({}, this.allEvents[idx]), rest);
188
- if (!isTheSameWithoutBusy) {
189
- this.refreshShifts();
188
+ if (isTheSameWithoutBusy) {
189
+ return;
190
190
  }
191
+ this.refreshShifts();
191
192
  if (this.shouldUpdateContextOnNextSave &&
192
193
  ((_a = this.sm.getContext().event) === null || _a === void 0 ? void 0 : _a.id) === id) {
193
194
  this.shouldIgnoreNextContextUpdate = true;
@@ -205,9 +205,10 @@ export default class CalendarEventManager {
205
205
  this.calendarVc.updateEvent(id, Object.assign(Object.assign({}, rest), { shouldPersist }));
206
206
  const idx = this.allEvents.findIndex((e) => e.id === id);
207
207
  this.allEvents[idx] = Object.assign(Object.assign({}, this.allEvents[idx]), rest);
208
- if (!isTheSameWithoutBusy) {
209
- this.refreshShifts();
208
+ if (isTheSameWithoutBusy) {
209
+ return;
210
210
  }
211
+ this.refreshShifts();
211
212
  if (this.shouldUpdateContextOnNextSave &&
212
213
  ((_a = this.sm.getContext().event) === null || _a === void 0 ? void 0 : _a.id) === id) {
213
214
  this.shouldIgnoreNextContextUpdate = true;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sprucelabs/spruce-calendar-components",
3
3
  "description": "Calendar components for working with calendars and Sprucebot.",
4
- "version": "25.6.3",
4
+ "version": "25.6.4",
5
5
  "skill": {
6
6
  "namespace": "calendar"
7
7
  },