Skip to content
Snippets Groups Projects
Commit da4ce032 authored by ali asaria's avatar ali asaria
Browse files

You can now sort documents by name

parent 50200ec6
No related branches found
No related tags found
No related merge requests found
......@@ -29,6 +29,7 @@ import {
} from '@mui/joy';
import {
ChevronUpIcon,
EyeIcon,
FileTextIcon,
FileUpIcon,
......@@ -632,7 +633,7 @@ export default function Documents({
setOrder(order === 'asc' ? 'desc' : 'asc')
}
fontWeight="lg"
endDecorator={<ChevronDownIcon />}
endDecorator={<ChevronUpIcon />}
sx={{
'& svg': {
transition: '0.2s',
......
......@@ -20,7 +20,7 @@ import {
import {
ArrowDownIcon,
CheckIcon,
ChevronDownIcon,
ChevronUpIcon,
CreativeCommonsIcon,
DownloadIcon,
ExternalLinkIcon,
......@@ -337,7 +337,7 @@ export default function ModelStore() {
component="button"
onClick={() => setOrder(order === 'asc' ? 'desc' : 'asc')}
fontWeight="lg"
endDecorator={<ChevronDownIcon />}
endDecorator={<ChevronUpIcon />}
sx={{
'& svg': {
transition: '0.2s',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment