mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 06:03:45 +01: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:
@@ -491,7 +491,7 @@ export default App.controller(
|
||||
if (!window.isRestrictedTokenMember) {
|
||||
if (rangesTracker.comments.length > 0) {
|
||||
ensureThreadsAreLoaded()
|
||||
} else {
|
||||
} else if (ide.$scope.loadingThreads === true) {
|
||||
// ensure that tracked changes are highlighted even if no comments are loaded
|
||||
ide.$scope.loadingThreads = false
|
||||
dispatchReviewPanelEvent('loaded_threads')
|
||||
|
||||
Reference in New Issue
Block a user