mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Allow opening original URL from the card menu
This commit is contained in:
parent
40eda0a6ca
commit
9cb314feee
1 changed files with 5 additions and 0 deletions
|
|
@ -13,6 +13,7 @@ export type CardMenuDropdownAction =
|
|||
| 'share'
|
||||
| 'snooze'
|
||||
| 'set-labels'
|
||||
| 'showOriginal'
|
||||
|
||||
type CardMenuProps = {
|
||||
item: LibraryItemNode
|
||||
|
|
@ -41,6 +42,10 @@ export function CardMenu(props: CardMenuProps): JSX.Element {
|
|||
}}
|
||||
title="Set Labels"
|
||||
/>
|
||||
<DropdownOption
|
||||
onSelect={() => props.actionHandler('showOriginal')}
|
||||
title="Open Original"
|
||||
/>
|
||||
{isVipUser(props.viewer) && (
|
||||
<DropdownOption
|
||||
onSelect={() => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue