Merge pull request #5175 from overleaf/bg-enable-file-line-errors-for-alpha

[web] enable file-line-errors for alpha group

GitOrigin-RevId: 95579162410be25d9908b74816d240ec95432463
This commit is contained in:
Brian Gough 2021-09-23 09:18:18 +01:00 committed by Copybot
parent f8d65a2004
commit f5fce04e34

View file

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