Skip to content

Commit

Permalink
Merge 7318f2f into a1bba67
Browse files Browse the repository at this point in the history
  • Loading branch information
blizzz authored Dec 2, 2020
2 parents a1bba67 + 7318f2f commit 8766921
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/models/calendarShare.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@ const mapDavShareeToCalendarShareObject = (sharee) => {
if (sharee['common-name'] && sharee['common-name'].trim() !== '') {
displayName = sharee['common-name']
} else if (sharee.href.startsWith(PRINCIPAL_PREFIX_GROUP)) {
displayName = sharee.href.substr(28)
displayName = decodeURIComponent(sharee.href.substr(28))
} else if (sharee.href.startsWith(PRINCIPAL_PREFIX_USER)) {
displayName = sharee.href.substr(27)
displayName = decodeURIComponent(sharee.href.substr(27))
} else {
displayName = sharee.href
}
Expand Down

0 comments on commit 8766921

Please sign in to comment.