@forcecalendar/core 2.1.41 → 2.1.42
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -281,6 +281,8 @@ export class SearchWorkerManager {
|
|
|
281
281
|
|
|
282
282
|
this.pendingSearches.push({
|
|
283
283
|
id: searchId,
|
|
284
|
+
query,
|
|
285
|
+
options,
|
|
284
286
|
resolve
|
|
285
287
|
});
|
|
286
288
|
|
|
@@ -349,7 +351,14 @@ export class SearchWorkerManager {
|
|
|
349
351
|
processPendingSearches() {
|
|
350
352
|
// Re-trigger pending searches after indexing
|
|
351
353
|
for (const search of this.pendingSearches) {
|
|
352
|
-
|
|
354
|
+
this.worker.postMessage({
|
|
355
|
+
type: 'search',
|
|
356
|
+
data: {
|
|
357
|
+
id: search.id,
|
|
358
|
+
query: search.query,
|
|
359
|
+
options: search.options
|
|
360
|
+
}
|
|
361
|
+
});
|
|
353
362
|
}
|
|
354
363
|
}
|
|
355
364
|
|