|
@ -279,8 +279,7 @@ export class GfAssistantComponent implements OnChanges, OnDestroy, OnInit { |
|
|
this.changeDetectorRef.markForCheck(); |
|
|
this.changeDetectorRef.markForCheck(); |
|
|
}) |
|
|
}) |
|
|
); |
|
|
); |
|
|
|
|
|
// Merge all results
|
|
|
// 4. Emit initial results first, then the combined results when async operations complete
|
|
|
|
|
|
return merge(quickLinks$, assetProfiles$, holdings$).pipe( |
|
|
return merge(quickLinks$, assetProfiles$, holdings$).pipe( |
|
|
scan( |
|
|
scan( |
|
|
(acc: ISearchResults, curr: Partial<ISearchResults>) => ({ |
|
|
(acc: ISearchResults, curr: Partial<ISearchResults>) => ({ |
|
|