@sprucelabs/spruce-calendar-components 25.5.1 → 25.5.2

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.
@@ -240,7 +240,9 @@ class CalendarViewController extends heartwood_view_controllers_1.CalendarViewCo
240
240
  return event;
241
241
  }
242
242
  render() {
243
- return Object.assign(Object.assign({}, super.render()), { onLongPressEvent: () => this.getDevice().vibrate(), onLongPressView: () => this.getDevice().vibrate() });
243
+ var _a, _b;
244
+ const model = super.render();
245
+ return Object.assign(Object.assign({}, model), { onLongPressEvent: () => this.getDevice().vibrate(), onLongPressView: () => this.getDevice().vibrate(), shouldEnableSwipeNav: ((_b = (_a = model.people) === null || _a === void 0 ? void 0 : _a.length) !== null && _b !== void 0 ? _b : 0) === 1 });
244
246
  }
245
247
  }
246
248
  CalendarViewController.id = 'calendar';