Skip to content

Commit 7f5b0cb

Browse files
committed
set rootID to homeGridID
1 parent 72fc7bf commit 7f5b0cb

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/processors/gridsetProcessor.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1529,6 +1529,8 @@ class GridsetProcessor extends BaseProcessor {
15291529
const homeGridId = gridNameToIdMap.get(startGridName);
15301530
if (homeGridId) {
15311531
metadata.defaultHomePageId = homeGridId;
1532+
// Also set tree.rootId so BoardViewer knows which page to show first
1533+
tree.rootId = homeGridId;
15321534
}
15331535
}
15341536

0 commit comments

Comments
 (0)