mirror of
https://github.com/urosran/cally.git
synced 2025-11-26 08:24:55 +00:00
- Implemented the complete update of recurring todo and handle changing the recurring rule and date
This commit is contained in:
@ -179,7 +179,6 @@ const updateRepeatDaysTodos = async (batch: any, todoData: IToDo, firstTodo: ITo
|
|||||||
dates.push(newDate);
|
dates.push(newDate);
|
||||||
});
|
});
|
||||||
|
|
||||||
// TODO: for the next connected -> filtered todos - number of weeks
|
|
||||||
for (let i = 0; i < todosToAddCycles; i++) {
|
for (let i = 0; i < todosToAddCycles; i++) {
|
||||||
dates?.forEach((dateToAdd) => {
|
dates?.forEach((dateToAdd) => {
|
||||||
let newTodoDate = addWeeks(dateToAdd, i);
|
let newTodoDate = addWeeks(dateToAdd, i);
|
||||||
|
|||||||
Reference in New Issue
Block a user