mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Fix logic for showing error or loading message.
This commit is contained in:
parent
4509642914
commit
5df5ba868c
1 changed files with 3 additions and 2 deletions
|
@ -20,9 +20,10 @@ div.binary-file.full-size(
|
|||
)
|
||||
|
||||
div(ng-if="(['bib'].indexOf(extension(openFile)) > -1) && !bibtex.error", ng-init="loadBibtexFilePreview()")
|
||||
div(ng-if="bibtex.loading")
|
||||
div.bib-loading(ng-if="bibtexPreview.loading")
|
||||
| #{translate('loading')}...
|
||||
div.bib-preview(ng-if="!bibtex.loading && !bibtex.error")
|
||||
|
||||
div.bib-preview(ng-if="!bibtexPreview.loading && !bibtexPreview.error")
|
||||
div.scroll-container
|
||||
p
|
||||
| {{ bibtexPreview.data }}
|
||||
|
|
Loading…
Reference in a new issue