diff --git a/components/daily/EditCheckboxModal.tsx b/components/daily/EditCheckboxModal.tsx index b88f722..f6ee201 100644 --- a/components/daily/EditCheckboxModal.tsx +++ b/components/daily/EditCheckboxModal.tsx @@ -151,9 +151,8 @@ export function EditCheckboxModal({ - {/* Liaison tâche (seulement pour les tâches) */} - {type === 'task' && ( -
+ {/* Liaison tâche (pour tous les types) */} +
@@ -241,7 +240,6 @@ export function EditCheckboxModal({
)}
- )} {/* Actions */}
diff --git a/src/app/daily/DailyPageClient.tsx b/src/app/daily/DailyPageClient.tsx index a581f9d..1789967 100644 --- a/src/app/daily/DailyPageClient.tsx +++ b/src/app/daily/DailyPageClient.tsx @@ -89,7 +89,7 @@ export function DailyPageClient({ await updateCheckbox(checkboxId, { text, type, - taskId: type === 'task' ? taskId : undefined // Supprimer la liaison tâche si on passe en réunion + taskId // Permet la liaison tâche pour tous les types }); };