Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix app initialization race when issuing annotation search query
If the initial annotation search query was constructed before the user's session state had been retrieved, the groups list was empty and groups.focused() returned null in WidgetController._loadAnnotationsFrom This commit resolves the issue by adding a 'groups.ready()' function which returns a promise once the groups list is ready. It currently just returns the session.load().$promise. Fixes #2590
- Loading branch information
1 parent
227efd6
commit 7326a1e
Showing
3 changed files
with
44 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters