mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Merge pull request #3725 from overleaf/ab-ta-pdf-sync-spinner
Stop spinner on PDF sync when file does not exist anymore GitOrigin-RevId: cba4bf3dd3d90c2894c6c5f1b28d184f18bb08fd
This commit is contained in:
parent
da6222fc58
commit
6e35561aeb
2 changed files with 4 additions and 1 deletions
3
services/web/.gitignore
vendored
3
services/web/.gitignore
vendored
|
@ -68,3 +68,6 @@ modules/**/Makefile
|
|||
|
||||
# via dev-environment
|
||||
.npmrc
|
||||
|
||||
# Intellij
|
||||
.idea
|
||||
|
|
|
@ -1063,7 +1063,7 @@ App.factory('synctex', function(ide, $http, $q) {
|
|||
) {
|
||||
const doc = ide.fileTreeManager.findEntityByPath(data.code[0].file)
|
||||
if (doc == null) {
|
||||
return
|
||||
deferred.reject()
|
||||
}
|
||||
return deferred.resolve({ doc, line: data.code[0].line })
|
||||
} else if (data.code[0].file === '') {
|
||||
|
|
Loading…
Reference in a new issue