fix: organisateur IA — apply tag utilise syncNoteLabels au lieu de properties
- applyTag faisait un PATCH sur /api/notes/[id]/properties avec { tags: [...] }
mais l'API properties attend { properties: { propId: value } }
- Maintenant: PATCH /api/ai/organize-notebook qui appelle syncNoteLabels()
- Les tags sont appliqués comme LABELS (système existant) sur les notes
- Merge avec labels existants (n'écrase pas)
This commit is contained in:
@@ -1068,7 +1068,8 @@ export function HomeClient({
|
||||
>
|
||||
<Wand2 size={14} />
|
||||
<span>{t('structuredViews.organizer') || 'Organiser'}</span>
|
||||
</button>
|
||||
</button>
|
||||
</div>
|
||||
)}
|
||||
{searchParams.get('notebook') && (
|
||||
<div className="flex items-center gap-1">
|
||||
|
||||
Reference in New Issue
Block a user