mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Do not display left side article actions for PDFs
This commit is contained in:
parent
3ec84d3f33
commit
9c42d473c1
1 changed files with 7 additions and 5 deletions
|
|
@ -196,11 +196,13 @@ export default function Home(): JSX.Element {
|
|||
},
|
||||
}}
|
||||
>
|
||||
<ArticleActionsMenu
|
||||
article={article}
|
||||
layout='vertical'
|
||||
articleActionHandler={actionHandler}
|
||||
/>
|
||||
{article.contentReader !== 'PDF' ? (
|
||||
<ArticleActionsMenu
|
||||
article={article}
|
||||
layout='vertical'
|
||||
articleActionHandler={actionHandler}
|
||||
/>
|
||||
) : null}
|
||||
</VStack>
|
||||
{article.contentReader == 'PDF' ? (
|
||||
<PdfArticleContainerNoSSR
|
||||
|
|
|
|||
Loading…
Reference in a new issue