Skip to content

Commit

Permalink
Fix: render related item in assignment preview (#1959)
Browse files Browse the repository at this point in the history
  • Loading branch information
devketanpro authored Apr 9, 2024
1 parent b007cea commit 11441cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/components/fields/preview/RelatedArticles.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export function PreviewFieldRelatedArticles({item, languageFilter}: IProps) {
{gettext('No related articles')}
</span>
) : (
item.related_items.map((relatedItem) => (
relatedItems.map((relatedItem) => (
<ArticleItemConcise
key={relatedItem.guid}
article={relatedItem as any as IArticle}
Expand Down

0 comments on commit 11441cc

Please sign in to comment.