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
JavaScript ai-agentsdashboarddeveloper-toolsdigital-twinquantified-selfsecond-brainself-hostedtailscale
fix: keep a typed treatment reference note until its save succeeds (#8980)
[._.]/ Adam Eivyb370138bfce6
diff --git a/client/src/components/musicVideo/TreatmentPanel.jsx b/client/src/components/musicVideo/TreatmentPanel.jsxindex 3ff816c669..f5512b2436 100644--- a/client/src/components/musicVideo/TreatmentPanel.jsx+++ b/client/src/components/musicVideo/TreatmentPanel.jsx@@ -74,9 +74,12 @@ export default function TreatmentPanel({ project, treatment: api }) {const addNote = () => {if (notesSaving || (!noteText.trim() && !noteUrl.trim()) || !urlValid) return;- saveNotes([...notes, { note: noteText.trim(), url: noteUrl.trim() || null }]);- setNoteText('');- setNoteUrl('');+ // Keep the typed note until the save lands, so a failed save loses nothing.+ saveNotes([...notes, { note: noteText.trim(), url: noteUrl.trim() || null }]).then((saved) => {+ if (!saved) return;+ setNoteText('');+ setNoteUrl('');+ });};return (