Skip to content

Commit

Permalink
Merge pull request #2813 from NDLANO/new-image-hide-byline
Browse files Browse the repository at this point in the history
Set hideByline if not copyrighted
  • Loading branch information
gunnarvelle authored Jan 2, 2025
2 parents 50252de + a9b73c6 commit 5631ab6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/containers/VisualElement/VisualElementSearch.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ const VisualElementSearch = ({
alt: image.alttext.alttext ?? "",
caption: image.caption.caption ?? "",
metaData: image,
hideByline: `${image.copyright.license.license !== "COPYRIGHTED"}`,
})
}
showCheckbox={showMetaImageCheckbox}
Expand Down

0 comments on commit 5631ab6

Please # to comment.