Skip to content

Commit

Permalink
chore: small changes
Browse files Browse the repository at this point in the history
  • Loading branch information
surunzi committed Jan 13, 2025
1 parent 097c974 commit 742db4f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/file-list/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,10 +101,9 @@ export default class FileList extends Component<IOptions> {
sortable: true,
},
{
id: 'size',
title: FileList.i18n.t('size'),
id: 'mtime',
title: FileList.i18n.t('dateModified'),
weight: 20,
comparator: (a: string, b: string) => fileSize(a) - fileSize(b),
sortable: true,
},
{
Expand All @@ -114,9 +113,10 @@ export default class FileList extends Component<IOptions> {
sortable: true,
},
{
id: 'mtime',
title: FileList.i18n.t('dateModified'),
id: 'size',
title: FileList.i18n.t('size'),
weight: 20,
comparator: (a: string, b: string) => fileSize(a) - fileSize(b),
sortable: true,
},
],
Expand Down

0 comments on commit 742db4f

Please sign in to comment.