mirror of
https://github.com/docmost/docmost.git
synced 2026-05-19 07:54:05 +08:00
fix
This commit is contained in:
@@ -212,7 +212,10 @@ export class FileImportTaskService {
|
|||||||
|
|
||||||
// For each folder with content, create a placeholder page if no corresponding .md or .html exists
|
// For each folder with content, create a placeholder page if no corresponding .md or .html exists
|
||||||
foldersWithContent.forEach((folderPath) => {
|
foldersWithContent.forEach((folderPath) => {
|
||||||
if (folderPath.toLowerCase() === skipRootFolder.toLowerCase()) {
|
if (
|
||||||
|
skipRootFolder &&
|
||||||
|
folderPath?.toLowerCase() === skipRootFolder?.toLowerCase()
|
||||||
|
) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user