Skip to content

Commit 8b94338

Browse files
committed
fix(ui): store coordinates_json in sweep runs for flowfield restore
Sweep runs were storing coordinates_json: null, causing restoreRunById to bail (geometry_snapshot was always null for sweep data). Click-to-restore in Plot Builder and Data Explorer now works for sweep runs. Made-with: Cursor
1 parent d1efced commit 8b94338

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

flexfoil-ui/src/components/panels/SolvePanel.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -806,7 +806,7 @@ export function SolvePanel() {
806806
solver_mode: data.solverMode,
807807
success: data.success,
808808
error: data.error,
809-
coordinates_json: null,
809+
coordinates_json: serializePoints(data.panels),
810810
panels_json: serializePoints(data.panels),
811811
flaps_json: data.flaps.length > 0 ? JSON.stringify(data.flaps) : null,
812812
});

0 commit comments

Comments
 (0)