quartz.loayout.ts 가 문제였던것인가
This commit is contained in:
+2
-2
@@ -41,7 +41,7 @@ export const defaultContentPageLayout: PageLayout = {
|
||||
Component.Explorer({
|
||||
filterFn: (node) => {
|
||||
const omit = new Set(["extra", "note", "template", "volume"])
|
||||
return !omit.has(node.name.toLowerCase())
|
||||
return !omit.has((node.name || "").toLowerCase())
|
||||
},
|
||||
}),
|
||||
],
|
||||
@@ -70,7 +70,7 @@ export const defaultListPageLayout: PageLayout = {
|
||||
Component.Explorer({
|
||||
filterFn: (node) => {
|
||||
const omit = new Set(["extra", "note", "template", "volume"])
|
||||
return !omit.has(node.name.toLowerCase())
|
||||
return !omit.has((node.name || "").toLowerCase())
|
||||
},
|
||||
}),
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user