Преглед изворни кода

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 година
родитељ
комит
91c31b2523
1 измењених фајлова са 1 додато и 5 уклоњено
  1. 1 5
      services/web/frontend/js/ide/pdf/controllers/PdfController.js

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

@@ -283,11 +283,7 @@ App.controller(
       if (getMeta('ol-enablePdfCaching')) {
         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'
       }
       // if the previous run was a check, clear the error logs