Skip to content

Build your personal knowledge base with Trilium Notes

fix(dashboard): replace the removed float option with mode

Elian Doran9d4c68298774
diff --git a/apps/client/src/widgets/collections/dashboard/index.tsx b/apps/client/src/widgets/collections/dashboard/index.tsx
index f737bc50ba..f4376fd27c 100644
--- a/apps/client/src/widgets/collections/dashboard/index.tsx
+++ b/apps/client/src/widgets/collections/dashboard/index.tsx
@@ -200,7 +200,7 @@ function useDashboardGrid({ note, notes, viewConfig, saveConfig, containerRef, g
column: GRID_COLUMNS,
cellHeight: CELL_HEIGHT,
margin: GRID_MARGIN,
- float: true,
+ mode: "float",
handle: ".dashboard-widget-header",
columnOpts: {
// Collapse to a vertical stack when the dashboard itself gets narrow,