mirror of
https://github.com/docmost/docmost.git
synced 2025-11-13 20:12:36 +10:00
fix
This commit is contained in:
@ -37,7 +37,7 @@ export default function PageTree() {
|
||||
|
||||
|
||||
const fetchAndSetTreeData = async () => {
|
||||
if (pageOrderData.childrenIds) {
|
||||
if (pageOrderData?.childrenIds) {
|
||||
try {
|
||||
const pages = await getPages();
|
||||
const treeData = convertToTree(pages, pageOrderData.childrenIds);
|
||||
|
||||
Reference in New Issue
Block a user