diff --git a/lib/Listeners/BeforeTemplateRenderedListener.php b/lib/Listeners/BeforeTemplateRenderedListener.php index f7b7b14b7..ae58ed7d0 100644 --- a/lib/Listeners/BeforeTemplateRenderedListener.php +++ b/lib/Listeners/BeforeTemplateRenderedListener.php @@ -52,6 +52,7 @@ public function handle(Event $event): void { $pathInfo = $this->request->getPathInfo(); if (strpos($pathInfo, '/call/') === 0 || strpos($pathInfo, '/apps/spreed') === 0) { Util::addScript('tasks', 'tasks-talk'); + Util::addStyle('tasks', 'tasks-talk'); Util::addStyle('tasks', 'tasks-icon'); } } diff --git a/src/components/AppSidebar/CalendarPickerItem.vue b/src/components/AppSidebar/CalendarPickerItem.vue index 725a35bfc..8fc033563 100644 --- a/src/components/AppSidebar/CalendarPickerItem.vue +++ b/src/components/AppSidebar/CalendarPickerItem.vue @@ -89,13 +89,15 @@ export default { t, stubCalendar(calendar) { - return { - id: calendar.url, - displayName: calendar.displayName, - color: calendar.color, - isSharedWithMe: calendar.isSharedWithMe, - owner: calendar.owner, - } + return calendar + ? { + id: calendar.url, + displayName: calendar.displayName, + color: calendar.color, + isSharedWithMe: calendar.isSharedWithMe, + owner: calendar.owner, + } + : null }, /**