fix: fixed notifications table and Electric SQL replication setup. Removed redirects for upload button

This commit is contained in:
Anish Sarkar 2026-01-14 02:33:43 +05:30
parent 5bd6bd3d67
commit fede7413fb
6 changed files with 54 additions and 67 deletions

View file

@ -148,7 +148,7 @@ export default function DocumentsTable() {
document_type: "SURFSENSE_DOCS",
document_metadata: { source: doc.source },
content: doc.content,
created_at: doc.created_at || doc.updated_at || new Date().toISOString(),
created_at: new Date().toISOString(),
search_space_id: -1, // Special value for global docs
}));
}, [surfsenseDocsResponse]);