Allow opening original URL from the card menu
This commit is contained in:
@ -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={() => {
|
||||
|
||||
Reference in New Issue
Block a user