Skip to content

Self-hosted homelab infrastructure visualizer — interactive network diagram with live status monitoring

fix: null -> undefined for StandaloneCanvas.floorMap

Pranjal Joshi046c99e219d0
diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx
index 39dc6bb..a635774 100644
--- a/frontend/src/App.tsx
+++ b/frontend/src/App.tsx
@@ -93,7 +93,7 @@ export default function App() {
const saveDesignId = designIdOverride ?? activeDesignId
if (STANDALONE) {
if (!saveDesignId) return false
- standaloneStorage.saveCanvas(saveDesignId, { nodes, edges, theme_id: activeTheme, custom_style: customStyle, floorMap })
+ standaloneStorage.saveCanvas(saveDesignId, { nodes, edges, theme_id: activeTheme, custom_style: customStyle, floorMap: floorMap ?? undefined })
markSaved()
toast.success('Canvas saved')
return true