2
0
Shun Miyazawa 4 жил өмнө
parent
commit
18f83ac36a

+ 1 - 1
packages/app/src/components/Sidebar/PageTree/Item.tsx

@@ -272,7 +272,7 @@ const Item: FC<ItemProps> = (props: ItemProps) => {
     }
 
     let initBody = '';
-    const isEnabledAttachTitleHeader = props.appContainer.getConfig().isEnabledAttachTitleHeader;
+    const { isEnabledAttachTitleHeader } = props.appContainer.getConfig();
     if (isEnabledAttachTitleHeader) {
       initBody = pathUtils.attachTitleHeader(newPagePath);
     }