mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
add sort to Name column
This commit is contained in:
parent
6d62e24ca4
commit
e6d1827e48
1 changed files with 2 additions and 0 deletions
|
|
@ -63,6 +63,8 @@ export class AllListsTable extends React.Component<{}, State> {
|
|||
<Table.Column<List>
|
||||
title="Name"
|
||||
dataIndex={nameof<List>("name")}
|
||||
sorter={(a, b) => a.name.localeCompare(b.name)}
|
||||
defaultSortOrder={"ascend"}
|
||||
width={200}
|
||||
fixed="left"
|
||||
render={(text: string) => <div>{text}</div>} />
|
||||
|
|
|
|||
Loading…
Reference in a new issue