mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Add Oldest First, toggle to the right when closed
This commit is contained in:
parent
561dbf3cc7
commit
9f0a5dfd03
1 changed files with 6 additions and 1 deletions
|
|
@ -14,6 +14,7 @@ import { ToggleCaretDownIcon } from '../../elements/icons/ToggleCaretDownIcon'
|
|||
import { ToggleCaretLeftIcon } from '../../elements/icons/ToggleCaretLeftIcon'
|
||||
import Link from 'next/link'
|
||||
import { ArrowRightIcon } from '../../elements/icons/ArrowRightIcon'
|
||||
import { ToggleCaretRightIcon } from '../../elements/icons/ToggleCaretRightIcon'
|
||||
|
||||
export const LIBRARY_LEFT_MENU_WIDTH = '233px'
|
||||
|
||||
|
|
@ -106,6 +107,10 @@ function SavedSearches(props: LibraryFilterMenuProps): JSX.Element {
|
|||
name: 'Unlabeled',
|
||||
term: 'no:label',
|
||||
},
|
||||
{
|
||||
name: 'Oldest First',
|
||||
term: 'sort:saved-desc',
|
||||
},
|
||||
{
|
||||
name: 'Files',
|
||||
term: 'type:file',
|
||||
|
|
@ -307,7 +312,7 @@ function MenuPanel(props: MenuPanelProps): JSX.Element {
|
|||
}}
|
||||
>
|
||||
{props.collapsed ? (
|
||||
<ToggleCaretLeftIcon
|
||||
<ToggleCaretRightIcon
|
||||
size={15}
|
||||
color={theme.colors.thLibraryMenuPrimary.toString()}
|
||||
/>
|
||||
|
|
|
|||
Loading…
Reference in a new issue