Sfoglia il codice sorgente

Merge pull request #22892 from overleaf/em-filter-tracked-deletes

Filter tracked deletes on project snapshot

GitOrigin-RevId: 5146e00b67af8dc15bf17f587cb6173a0a21544d
Eric Mc Sween 1 anno fa
parent
commit
84bd994345

+ 1 - 1
services/web/frontend/js/infrastructure/project-snapshot.ts

@@ -56,7 +56,7 @@ export class ProjectSnapshot {
     if (file == null) {
     if (file == null) {
       return null
       return null
     }
     }
-    return file.getContent() ?? null
+    return file.getContent({ filterTrackedDeletes: true }) ?? null
   }
   }
 
 
   private async loadDocs() {
   private async loadDocs() {