Ensure task UID to be treated as string

Allows to use all numeric UIDs, closes #394

Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
This commit is contained in:
Raimund Schlüßler 2019-05-09 20:26:29 +02:00
parent 78a6dd4eeb
commit fe22cd11cd
No known key found for this signature in database
GPG Key ID: 036FA7EB1A599178
1 changed files with 2 additions and 2 deletions

View File

@ -45,7 +45,7 @@ const calendarModel = {
enabled: true,
owner: '',
shares: [],
tasks: [],
tasks: {},
url: '',
readOnly: false,
dav: false,
@ -72,7 +72,7 @@ export function mapDavCollectionToCalendar(calendar) {
enabled: calendar.enabled !== false,
owner: calendar.owner,
readOnly: !calendar.isWriteable(),
tasks: [],
tasks: {},
url: calendar.url,
dav: calendar,
supportsTasks: calendar.components.includes('VTODO'),