Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

fix(cos): always close task edit form after save

Adam Eivy4306f2937697
diff --git a/client/src/components/cos/tabs/TaskItem.jsx b/client/src/components/cos/tabs/TaskItem.jsx
index 11d87c9374..e20ff2fb50 100644
--- a/client/src/components/cos/tabs/TaskItem.jsx
+++ b/client/src/components/cos/tabs/TaskItem.jsx
@@ -176,9 +176,8 @@ export default function TaskItem({ task, isSystem, awaitingApproval, onRefresh,
};
const handleSave = async () => {
- const result = await api.updateCosTask(task.id, editData).catch(err => { toast.error(err.message); return null; });
- if (!result) return;
- toast.success('Task updated');
+ const result = await api.updateCosTask(task.id, editData).catch(() => null);
+ if (result) toast.success('Task updated');
setEditing(false);
onRefresh();
};