Skip to content

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

fix(app/graph): fix graph settings

dextmorgn0f10bff68712
diff --git a/flowsint-app/src/stores/graph-settings-store.ts b/flowsint-app/src/stores/graph-settings-store.ts
index 86d242f5..6708aa7e 100644
--- a/flowsint-app/src/stores/graph-settings-store.ts
+++ b/flowsint-app/src/stores/graph-settings-store.ts
@@ -212,9 +212,9 @@ export const useGraphSettingsStore = create<GraphGeneralSettingsStore>()(
}
}
- // Also update forceSettings if we're updating a force setting
+ // Also update forceSettings if we're updating a graph setting
let newForceSettings = state.forceSettings
- if (category === 'force') {
+ if (category === 'graph') {
newForceSettings = {
...state.forceSettings,
[key]: {