Przeglądaj źródła

Merge pull request #5206 from overleaf/bg-roll-out-file-line-errors-all

roll out file line errors all users

GitOrigin-RevId: a7335217e20f9532521a094793f0d7d377cc8f8c
Brian Gough 5 lat temu
rodzic
commit
91c31b2523

+ 1 - 5
services/web/frontend/js/ide/pdf/controllers/PdfController.js

@@ -283,11 +283,7 @@ App.controller(
       if (getMeta('ol-enablePdfCaching')) {
       if (getMeta('ol-enablePdfCaching')) {
         params.enable_pdf_caching = true
         params.enable_pdf_caching = true
       }
       }
-      if (
-        window.user.alphaProgram ||
-        window.user.betaProgram ||
-        window.location.search.includes('file_line_errors=true')
-      ) {
+      if (!window.location.search.includes('file_line_errors=false')) {
         params.file_line_errors = 'true'
         params.file_line_errors = 'true'
       }
       }
       // if the previous run was a check, clear the error logs
       // if the previous run was a check, clear the error logs