Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/tasks.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaimund Schlüßler <raimund.schluessler@mailbox.org>2018-12-30 16:10:20 +0300
committerRaimund Schlüßler <raimund.schluessler@mailbox.org>2019-01-25 22:38:10 +0300
commit17450008e870dc5869700b4f37647bf79f78a11e (patch)
treed97ee050a8493953b5b8cf8bb4425c72ca893214 /src/models
parent78304c5e87f26dbcdb941785ac24a9194ec08d46 (diff)
Don't fail when task summary is null
Diffstat (limited to 'src/models')
-rw-r--r--src/models/task.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/models/task.js b/src/models/task.js
index bea5a8f2..ccaaee9f 100644
--- a/src/models/task.js
+++ b/src/models/task.js
@@ -162,7 +162,7 @@ export default class Task {
* @memberof Task
*/
get summary() {
- return this.vtodo.getFirstPropertyValue('summary')
+ return this.vtodo.getFirstPropertyValue('summary') || ''
}
/**