Skip to content

πŸ“š The open-source, offline-first Notion, Obsidian & Confluence alternative. Advanced Markdown, multi-tenant teams, OIDC/SSO, and local S3 backups. Deploy in one command.

chore: remove old console log debug in import system

Smaug6739f9e904d1a889
diff --git a/frontend/app/helpers/backups/Importer.ts b/frontend/app/helpers/backups/Importer.ts
index 048c3af1..9ccd304f 100644
--- a/frontend/app/helpers/backups/Importer.ts
+++ b/frontend/app/helpers/backups/Importer.ts
@@ -99,10 +99,8 @@ export class Importer {
const folderName = parts[i]!;
const previousPath = currentPath;
currentPath = currentPath ? `${currentPath}/${folderName}` : folderName;
- console.log('Processing folder:', currentPath, 'Previous path:', previousPath);
// We check if this level of folder already exists in the global tree
let folderEntry = this.normalized_files.find(e => e.id === currentPath);
- console.log('Existing folder entry:', folderEntry);
// If we are at the first level ("A"), the parent is the root (undefined),
// otherwise it's the previous folder ("A/B" has "A" as parent)
if (!folderEntry) {
diff --git a/frontend/app/stores/nodes.importer.store.ts b/frontend/app/stores/nodes.importer.store.ts
index 7f83be17..dd127e4e 100644
--- a/frontend/app/stores/nodes.importer.store.ts
+++ b/frontend/app/stores/nodes.importer.store.ts
@@ -36,7 +36,6 @@ export const useNodesImporterStore = defineStore('nodesImporter', () => {
}
}
for (const backupNode of filesToImport) {
- console.log('Preparing resource for import:', backupNode.file.name, 'with ID:', backupNode.id);
const existingNode = nodesStore.getById(backupNode.id);
if (!existingNode) {
toCreate.push({