Fix notifications not using task title
continuous-integration/drone/push Build is passing Details

This commit is contained in:
kolaente 2020-07-01 08:39:31 +02:00
parent a9e8a3969b
commit 7800a25544
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 1 additions and 1 deletions

View File

@ -182,7 +182,7 @@ export default class TaskModel extends AbstractModel {
// Register the actual notification
registration.showNotification('Vikunja Reminder', {
tag: `vikunja-task-${this.id}`, // Group notifications by task id so we're only showing one notification per task
body: this.text,
body: this.title,
// eslint-disable-next-line no-undef
showTrigger: new TimestampTrigger(date),
badge: '/images/icons/badge-monochrome.png',