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:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user