@sprucelabs/spruce-calendar-components 23.0.7 → 23.0.8
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.
|
@@ -196,7 +196,6 @@ export default class RootSkillViewController extends AbstractSkillViewController
|
|
|
196
196
|
}
|
|
197
197
|
handleChangeDate() {
|
|
198
198
|
return __awaiter(this, void 0, void 0, function* () {
|
|
199
|
-
console.log('change date!!');
|
|
200
199
|
this.makeDateSelectMatchSelectedDateFromCalendar();
|
|
201
200
|
yield this.loadEvents();
|
|
202
201
|
});
|
|
@@ -315,8 +314,9 @@ export default class RootSkillViewController extends AbstractSkillViewController
|
|
|
315
314
|
message: (_a = err.message) !== null && _a !== void 0 ? _a : 'Something catastrophic happened! We gotta get out of there!',
|
|
316
315
|
});
|
|
317
316
|
yield router.redirect('heartwood.root');
|
|
317
|
+
return;
|
|
318
318
|
}
|
|
319
|
-
const { startDate = this.dates.
|
|
319
|
+
const { startDate = this.dates.getStartOfDay(), visiblePeopleIds } = args;
|
|
320
320
|
yield this.calendarVc.renderOnce(() => __awaiter(this, void 0, void 0, function* () {
|
|
321
321
|
this.syncOffsetWithLocale(locale);
|
|
322
322
|
yield this.events.setCurrentDate(startDate);
|
|
@@ -173,7 +173,6 @@ class RootSkillViewController extends heartwood_view_controllers_1.AbstractSkill
|
|
|
173
173
|
});
|
|
174
174
|
}
|
|
175
175
|
async handleChangeDate() {
|
|
176
|
-
console.log('change date!!');
|
|
177
176
|
this.makeDateSelectMatchSelectedDateFromCalendar();
|
|
178
177
|
await this.loadEvents();
|
|
179
178
|
}
|
|
@@ -276,8 +275,9 @@ class RootSkillViewController extends heartwood_view_controllers_1.AbstractSkill
|
|
|
276
275
|
message: (_a = err.message) !== null && _a !== void 0 ? _a : 'Something catastrophic happened! We gotta get out of there!',
|
|
277
276
|
});
|
|
278
277
|
await router.redirect('heartwood.root');
|
|
278
|
+
return;
|
|
279
279
|
}
|
|
280
|
-
const { startDate = this.dates.
|
|
280
|
+
const { startDate = this.dates.getStartOfDay(), visiblePeopleIds } = args;
|
|
281
281
|
await this.calendarVc.renderOnce(async () => {
|
|
282
282
|
this.syncOffsetWithLocale(locale);
|
|
283
283
|
await this.events.setCurrentDate(startDate);
|