mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Merge pull request #8708 from overleaf/ae-loading-threads-fix
Only dispatch the loaded_threads event once GitOrigin-RevId: d9b8bf4a84d115fcc00edbf1901565ddb407c8be
This commit is contained in:
parent
4657465c0d
commit
0b942bd8a8
1 changed files with 1 additions and 1 deletions
|
@ -491,7 +491,7 @@ export default App.controller(
|
||||||
if (!window.isRestrictedTokenMember) {
|
if (!window.isRestrictedTokenMember) {
|
||||||
if (rangesTracker.comments.length > 0) {
|
if (rangesTracker.comments.length > 0) {
|
||||||
ensureThreadsAreLoaded()
|
ensureThreadsAreLoaded()
|
||||||
} else {
|
} else if (ide.$scope.loadingThreads === true) {
|
||||||
// ensure that tracked changes are highlighted even if no comments are loaded
|
// ensure that tracked changes are highlighted even if no comments are loaded
|
||||||
ide.$scope.loadingThreads = false
|
ide.$scope.loadingThreads = false
|
||||||
dispatchReviewPanelEvent('loaded_threads')
|
dispatchReviewPanelEvent('loaded_threads')
|
||||||
|
|
Loading…
Reference in a new issue