Skip to content

Commit

Permalink
fix: Re-enable belga covearge preview in an article (#443)
Browse files Browse the repository at this point in the history
* fix: Re-enable belga covearge preview in an article

* update package-lock.json
  • Loading branch information
MarkLark86 authored Mar 28, 2024
1 parent 7b11d1a commit b792efe
Show file tree
Hide file tree
Showing 2 changed files with 96 additions and 117 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,7 @@ export function getBelgaCoveragePreview(superdesk: ISuperdesk) {
<React.Fragment>
{ids.map((id) => (
<div key={id}>
{
// not working with latest api changes, disabling for now
// props.item.type !== 'graphic' ? ( // belga coverage in an article
false ? (
{this.props.item.type !== 'graphic' ? ( // belga coverage in an article
<BelgaCoverageCarousel coverageId={id} superdesk={superdesk} preview={true} />
) : ( // single belga coverage in the search, there is description already
<BelgaCoverageImages
Expand Down
208 changes: 95 additions & 113 deletions client/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b792efe

Please sign in to comment.