mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Add archive to command bar
This commit is contained in:
parent
9f2ab09729
commit
808e3ec8d6
1 changed files with 10 additions and 3 deletions
|
|
@ -142,17 +142,24 @@ export default function Home(): JSX.Element {
|
|||
{
|
||||
id: 'open',
|
||||
section: 'Article',
|
||||
name: 'Open original article page',
|
||||
name: 'Open original article',
|
||||
shortcut: ['o'],
|
||||
perform: () => actionHandler('openOriginalArticle')
|
||||
},
|
||||
{
|
||||
id: 'back',
|
||||
section: 'Article',
|
||||
name: 'Back to library',
|
||||
section: 'Navigation',
|
||||
name: 'Return to library',
|
||||
shortcut: ['u'],
|
||||
perform: () => router.push(`/home`),
|
||||
},
|
||||
{
|
||||
id: 'archive',
|
||||
section: 'Article',
|
||||
name: 'Archive current item',
|
||||
shortcut: ['e'],
|
||||
perform: () => actionHandler('archive'),
|
||||
},
|
||||
{
|
||||
id: 'highlight',
|
||||
section: 'Article',
|
||||
|
|
|
|||
Loading…
Reference in a new issue