mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-07-18 00:46:45 +00:00
fix(schedule): update reminder detection when rescheduling
This commit is contained in:
parent
4bb3d53cf1
commit
d2cae406be
1 changed files with 1 additions and 1 deletions
|
|
@ -622,7 +622,7 @@ export class ScheduleWeekDragService {
|
|||
|
||||
private _scheduleTask(task: TaskCopy, scheduleTime: number): void {
|
||||
const hasExistingSchedule = !!task?.dueWithTime;
|
||||
const hasReminder = !!task?.remindAt;
|
||||
const hasReminder = !!(task?.remindAt ?? task?.reminderId);
|
||||
const defaultReminderOption = this._getDefaultReminderOption();
|
||||
// Smart reminder logic: if task is brand new to scheduling, add a reminder based on user's default setting.
|
||||
// If it already has a reminder, update it. Otherwise, leave reminders unchanged.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue