feat: reset checklist items to default when duplicating
This commit is contained in:
@@ -1347,7 +1347,7 @@ export const cardRouter = createTRPCRouter({
|
|||||||
checklistId: newChecklist.id,
|
checklistId: newChecklist.id,
|
||||||
title: item.title,
|
title: item.title,
|
||||||
createdBy: userId,
|
createdBy: userId,
|
||||||
completed: item.completed ?? false,
|
completed: false,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user