@hivegpt/hiveai-angular 0.0.562 → 0.0.563
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.
- package/bundles/hivegpt-hiveai-angular.umd.js +3 -1
- package/bundles/hivegpt-hiveai-angular.umd.js.map +1 -1
- package/bundles/hivegpt-hiveai-angular.umd.min.js +1 -1
- package/bundles/hivegpt-hiveai-angular.umd.min.js.map +1 -1
- package/esm2015/lib/components/chat-drawer/chat-drawer.component.js +4 -2
- package/fesm2015/hivegpt-hiveai-angular.js +3 -1
- package/fesm2015/hivegpt-hiveai-angular.js.map +1 -1
- package/lib/components/chat-drawer/chat-drawer.component.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -2060,8 +2060,10 @@ class ChatDrawerComponent {
|
|
|
2060
2060
|
const userTimezone = this.timezone && String(this.timezone).trim()
|
|
2061
2061
|
? String(this.timezone).trim()
|
|
2062
2062
|
: undefined;
|
|
2063
|
-
return sessions.map((
|
|
2063
|
+
return sessions.map((raw) => {
|
|
2064
2064
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
2065
|
+
// get_my_agenda returns wrapper { id, schedule, isSession }; normalize to inner schedule object
|
|
2066
|
+
const s = raw && raw.schedule ? raw.schedule : raw;
|
|
2065
2067
|
// Support both dateTimeRange (string) and actualDateTimeRange (object with start/end)
|
|
2066
2068
|
const whenRaw = (_b = (_a = s.dateTimeRange) !== null && _a !== void 0 ? _a : s.actualDateTimeRange) !== null && _b !== void 0 ? _b : '';
|
|
2067
2069
|
const whenFormatted = this.formatSessionWhen(whenRaw, userTimezone);
|