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
MindSift CI & Docker Release / Build, Test in Container & Push (push) Successful in 57s
This commit is contained in:
1 parent
e2b20198e4
commit
bc41f7896d
1 file changed
+1
-4
@@ -94,15 +94,12 @@ export const TriageDeck: React.FC<TriageDeckProps> = ({
|
||||
x.set(0);
|
||||
|
||||
try {
|
||||
const updated = await api.triageAction(targetCard.id, action, {
|
||||
await api.triageAction(targetCard.id, action, {
|
||||
convertTo: options?.convertTo,
|
||||
targetListId: options?.targetListId,
|
||||
dueDate: options?.dueDate,
|
||||
});
|
||||
onDeckChange();
|
||||
if (options?.convertTo === 'document' && updated.convertedRefId) {
|
||||
onOpenDocument(updated.convertedRefId);
|
||||
}
|
||||
} catch {
|
||||
onDeckChange();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user