From 62c3102923f9ca6d53dd4f68c3f673559cb7d049 Mon Sep 17 00:00:00 2001 From: Richard Steinmetz Date: Fri, 9 Jul 2021 16:07:21 +0200 Subject: [PATCH] Fix calendar sharing search Signed-off-by: Richard Steinmetz --- .../CalendarList/CalendarListItemSharingSearch.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/components/AppNavigation/CalendarList/CalendarListItemSharingSearch.vue b/src/components/AppNavigation/CalendarList/CalendarListItemSharingSearch.vue index 8b7817c9f..c0d13a68e 100644 --- a/src/components/AppNavigation/CalendarList/CalendarListItemSharingSearch.vue +++ b/src/components/AppNavigation/CalendarList/CalendarListItemSharingSearch.vue @@ -145,6 +145,10 @@ export default { } return results.reduce((list, result) => { + if (['ROOM', 'RESOURCE'].includes(result.calendarUserType)) { + return list + } + const isGroup = result.calendarUserType === 'GROUP' // TODO: Why do we have to decode those two values?