Correctly get readOnly state for calendars
This commit is contained in:
parent
073242811b
commit
3f8d17249e
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ export function mapDavCollectionToCalendar(calendar) {
|
|||
color: calendar.color,
|
||||
enabled: calendar.enabled !== false,
|
||||
owner: calendar.owner,
|
||||
readOnly: false, // this currently does not work correctly. Need to get the state from the actual calendar!
|
||||
readOnly: !calendar.isWriteable(),
|
||||
tasks: [],
|
||||
url: calendar.url,
|
||||
dav: calendar,
|
||||
|
|
Loading…
Reference in a new issue