fix(triage): silently convert thought to workspace note without interrupting triage flow
MindSift CI & Docker Release / Build, Test in Container & Push (push) Successful in 57s

This commit is contained in:
sandrodach committed 2026-10-25 12:28:16 +01:00
1 parent e2b20198e4
commit bc41f7896d
1 file changed
+1 -4
+1 -4
View File
@@ -94,15 +94,12 @@ export const TriageDeck: React.FC<TriageDeckProps> = ({
x.set(0); x.set(0);
try { try {
const updated = await api.triageAction(targetCard.id, action, { await api.triageAction(targetCard.id, action, {
convertTo: options?.convertTo, convertTo: options?.convertTo,
targetListId: options?.targetListId, targetListId: options?.targetListId,
dueDate: options?.dueDate, dueDate: options?.dueDate,
}); });
onDeckChange(); onDeckChange();
if (options?.convertTo === 'document' && updated.convertedRefId) {
onOpenDocument(updated.convertedRefId);
}
} catch { } catch {
onDeckChange(); onDeckChange();
} }