Browse Source

Clean up

pull/4870/head
Thomas Kaul 3 weeks ago
parent
commit
a0a46556fc
  1. 6
      libs/ui/src/lib/assistant/assistant.component.ts

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

@ -271,7 +271,7 @@ export class GfAssistantComponent implements OnChanges, OnDestroy, OnInit {
}) })
); );
// QuickLinks // Quick Links
const quickLinksData = this.searchQuickLinks(searchTerm); const quickLinksData = this.searchQuickLinks(searchTerm);
const quickLinks$: Observable<Partial<ISearchResults>> = of({ const quickLinks$: Observable<Partial<ISearchResults>> = of({
quickLinks: quickLinksData quickLinks: quickLinksData
@ -304,8 +304,8 @@ export class GfAssistantComponent implements OnChanges, OnDestroy, OnInit {
this.searchResults = searchResults; this.searchResults = searchResults;
this.changeDetectorRef.markForCheck(); this.changeDetectorRef.markForCheck();
}, },
error: (err) => { error: (error) => {
console.error('Assistant search stream error:', err); console.error('Assistant search stream error:', error);
this.searchResults = { this.searchResults = {
assetProfiles: [], assetProfiles: [],
holdings: [], holdings: [],

Loading…
Cancel
Save