Fix calendar sharing search

Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
This commit is contained in:
Richard Steinmetz 2021-07-09 16:07:21 +02:00 committed by backportbot[bot]
parent 580f785253
commit 62c3102923
1 changed files with 4 additions and 0 deletions

View File

@ -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?