mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Add menu shortcuts
This commit is contained in:
parent
914b611ce2
commit
d8c3fc88a2
1 changed files with 2 additions and 1 deletions
|
|
@ -106,8 +106,9 @@ function SavedSearches(props: LibraryFilterMenuProps): JSX.Element {
|
|||
const key = String(idx + 1)
|
||||
return {
|
||||
id: `saved_search_${key}`,
|
||||
section: 'Saved Searches',
|
||||
name: item.name,
|
||||
shortcut: [key],
|
||||
section: 'Saved Searches',
|
||||
keywords: '?' + item.name,
|
||||
perform: () => {
|
||||
props.applySearchQuery(item.term)
|
||||
|
|
|
|||
Loading…
Reference in a new issue