mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 17:19:37 +02:00
Merge pull request #5113 from overleaf/em-compile-error-link
Fix compile error link in TeX Live 2021 GitOrigin-RevId: d1193e638d6f41c2b8045350b16296c42944ff0c
This commit is contained in:
@@ -762,8 +762,10 @@ App.controller(
|
||||
path = path.replace(/^\/compile\//, '')
|
||||
|
||||
const rootDocDirname = ide.fileTreeManager.getRootDocDirname()
|
||||
if (rootDocDirname != null) {
|
||||
if (rootDocDirname) {
|
||||
path = path.replace(/^\.\//, rootDocDirname + '/')
|
||||
} else {
|
||||
path = path.replace(/^\.\//, '')
|
||||
}
|
||||
|
||||
return path
|
||||
|
||||
Reference in New Issue
Block a user