fix: review findings
continuous-integration/drone/pr Build is passing Details

This commit is contained in:
cernst 2023-03-28 07:51:46 +02:00
parent 1a636d368e
commit 7a7ff5a28e
1 changed files with 5 additions and 0 deletions

View File

@ -75,6 +75,11 @@ export default class TaskModel extends AbstractModel<ITask> implements ITask {
repeatAfter: number | IRepeatAfter = 0
repeatFromCurrentDate = false
repeatMode: IRepeatMode = TASK_REPEAT_MODES.REPEAT_MODE_DEFAULT
/* Make sure to not return reminderDates to the server.
The server currently supports both reminderDates (old API) and reminder (new API) and assumes the old logic
if it still receives reminderDates.
This line and reminderDates attributes will be removed after https://kolaente.dev/vikunja/api/pulls/1448 was merged.
*/
reminderDates = null
reminders: ITaskReminder[] = []
parentTaskId: ITask['id'] = 0