Browse Source

feat(lib): update comments

pull/4870/head
KenTandrian 4 weeks ago
parent
commit
625d9c3577
  1. 3
      libs/ui/src/lib/assistant/assistant.component.ts

3
libs/ui/src/lib/assistant/assistant.component.ts

@ -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>) => ({

Loading…
Cancel
Save