We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2fd6d28 commit 29a3556Copy full SHA for 29a3556
web/libs/datamanager/src/stores/AppStore.js
@@ -239,9 +239,9 @@ export const AppStore = types
239
240
// wait for the task to be loaded and LSF to be initialized
241
yield taskPromise.then(async () => {
242
- // wait for self.LSF to be initialized
+ // wait for self.LSF to be initialized with currentAnnotation
243
let maxWait = 1000;
244
- while (!self.LSF) {
+ while (!self.LSF?.currentAnnotation) {
245
await new Promise((resolve) => setTimeout(resolve, 1));
246
maxWait -= 1;
247
if (maxWait <= 0) {
0 commit comments