Jelajahi Sumber

Merge pull request #28208 from overleaf/mj-compile-events-draft

[web] Add draft mode to compile event segmentation

GitOrigin-RevId: 3dfc460da43e0164c7a1902cc841cc490bcfe591
Mathias Jakobsen 1 tahun lalu
induk
melakukan
2747d494bc
1 mengubah file dengan 1 tambahan dan 0 penghapusan
  1. 1 0
      services/web/app/src/Features/Compile/CompileController.js

+ 1 - 0
services/web/app/src/Features/Compile/CompileController.js

@@ -220,6 +220,7 @@ const _CompileController = {
           isInitialCompile: stats?.isInitialCompile === 1,
           isInitialCompile: stats?.isInitialCompile === 1,
           restoredClsiCache: stats?.restoredClsiCache === 1,
           restoredClsiCache: stats?.restoredClsiCache === 1,
           stopOnFirstError,
           stopOnFirstError,
+          isDraftMode: !!options.draft,
         }
         }
       )
       )
     }
     }