Skip to content

Commit

Permalink
fix: close spinner
Browse files Browse the repository at this point in the history
  • Loading branch information
Angular2Guy committed Dec 10, 2023
1 parent 14ab0a7 commit f2d9f14
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ export class DocSearchComponent {
.pipe(takeUntilDestroyed(this.destroyRef), tap(() => this.searching = false), tap(() => this.repeatSub?.unsubscribe()), catchError(error => {
console.log(error);
this.requestFailed = true;
this.searching = false;
return of({documents: [], resultStrings: [], searchString: ''} as DocumentSearchResult);
}))
.subscribe(result => {
Expand Down

0 comments on commit f2d9f14

Please sign in to comment.