feat: update document tracking to use 'updated_at' timestamp instead of 'last_edited_at'

This commit is contained in:
DESKTOP-RTLN3BA\$punk 2025-12-12 01:32:14 -08:00
parent a313387e0f
commit 8c9aa68faa
28 changed files with 253 additions and 18 deletions

View file

@ -104,7 +104,9 @@ export const useSearchSourceConnectors = (lazy: boolean = false, searchSpaceId?:
);
useEffect(() => {
if (!lazy) {
// Only auto-fetch if lazy is false AND searchSpaceId is provided
// This prevents 400 errors when the hook is used without a searchSpaceId
if (!lazy && searchSpaceId !== undefined) {
fetchConnectors(searchSpaceId);
}
}, [lazy, fetchConnectors, searchSpaceId]);