Skip to content

Commit

Permalink
Update pages-details.facade.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
amonsour committed Jun 20, 2023
1 parent 503baa2 commit 170294a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ export class PagesDetailsFacade {
);

mostFrequentWordsOnPage$ = this.latestReadability$.pipe(
map((readability) => readability?.word_counts)
map((readability) => readability?.word_counts || [])
);

wordCount$ = this.latestReadability$.pipe(
Expand Down

0 comments on commit 170294a

Please sign in to comment.