Skip to content

Commit

Permalink
Hide READ MORE button from ArticlesSparql if block is not preview
Browse files Browse the repository at this point in the history
  • Loading branch information
razvanMiu committed Nov 26, 2020
1 parent 7300654 commit 486514b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/manage/Blocks/ArticlesSparql/View.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ const View = (props) => {
>
READ MORE
</Link>
) : items.length ? (
) : preview && items.length ? (
<div style={{ textAlign: 'center', marginBottom: '1rem' }}>
<Link
className="solid dark-blue articles-redirect relative"
Expand Down

0 comments on commit 486514b

Please sign in to comment.