We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22a12ec commit 351b52dCopy full SHA for 351b52d
src/Task/Occurrence.ts
@@ -102,8 +102,8 @@ export class Occurrence {
102
103
const hasStartDate = this.startDate !== null;
104
const hasDueDate = this.dueDate !== null;
105
- const canDropScheduledDate = hasStartDate || hasDueDate;
106
- const shouldDropScheduledDate = removeScheduledDate && canDropScheduledDate;
+ const canRemoveScheduledDate = hasStartDate || hasDueDate;
+ const shouldDropScheduledDate = removeScheduledDate && canRemoveScheduledDate;
107
108
const startDate = this.nextOccurrenceDate(this.startDate, nextReferenceDate);
109
const scheduledDate = shouldDropScheduledDate
0 commit comments