feat: update EditCheckboxModal and DailyPageClient for task linkage

- Changed the label in EditCheckboxModal to clarify task linkage applies to all types, not just tasks.
- Updated DailyPageClient to allow taskId linkage for all checkbox types, enhancing flexibility in task management.
This commit is contained in:
Julien Froidefond
2025-09-16 09:33:06 +02:00
parent 65abbc1454
commit 883ba67599
2 changed files with 3 additions and 5 deletions

View File

@@ -151,9 +151,8 @@ export function EditCheckboxModal({
</div>
</div>
{/* Liaison tâche (seulement pour les tâches) */}
{type === 'task' && (
<div>
{/* Liaison tâche (pour tous les types) */}
<div>
<label className="block text-sm font-medium text-[var(--foreground)] mb-2">
Lier à une tâche (optionnel)
</label>
@@ -241,7 +240,6 @@ export function EditCheckboxModal({
</div>
)}
</div>
)}
{/* Actions */}
<div className="flex gap-2 justify-end pt-4">