Files
Leopoldadmin 67c678121f fix: CanvasPreview crash - transform DBElement properties_json to CADElement properties
Backend returns DBElement with properties_json (string), not properties (object).
CanvasPreview accessed el.properties.stroke directly → undefined → React crash → white screen.
Fix: transform raw API response to CADElement format with JSON.parse(properties_json).
2026-07-04 19:33:22 +02:00
..