Skip to content

A modern platform for visual, flexible, and extensible graph-based investigations. For cybersecurity analysts and investigators.

feat: save flow on compute + update flowsint-app/README.md

dextmorgn4e109dfbca7f
diff --git a/flowsint-app/README.md b/flowsint-app/README.md
index 407a70b7..de39c95c 100644
--- a/flowsint-app/README.md
+++ b/flowsint-app/README.md
@@ -34,7 +34,7 @@ This will create a production build in the `dist` folder.
### Preview
```bash
-$ npm run preview
+$ npm run start
```
-This will preview the production build locally.
+This will start the production build locally.
diff --git a/flowsint-app/src/components/flows/editor.tsx b/flowsint-app/src/components/flows/editor.tsx
index dd7f66e8..7a3cf1d7 100644
--- a/flowsint-app/src/components/flows/editor.tsx
+++ b/flowsint-app/src/components/flows/editor.tsx
@@ -398,6 +398,7 @@ const FlowEditor = memo(({ initialEdges, initialNodes, theme, flow }: FlowEditor
toast.error('Save the flow first to compute it.')
return
}
+ await handleSaveFlow()
setLoading(true)
try {