Skip to content

Commit

Permalink
Merge pull request #2767 from nextcloud/fix/2704/task-talk
Browse files Browse the repository at this point in the history
fix: task create dialog in Talk
  • Loading branch information
raimund-schluessler authored Jan 19, 2025
2 parents 746e0fb + 7dbde83 commit 8eb71eb
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
1 change: 1 addition & 0 deletions lib/Listeners/BeforeTemplateRenderedListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');
}
}
Expand Down
16 changes: 9 additions & 7 deletions src/components/AppSidebar/CalendarPickerItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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
},

/**
Expand Down

0 comments on commit 8eb71eb

Please sign in to comment.