diff --git a/src/FilterLists.Web/src/components/listsTable/ListsTable.tsx b/src/FilterLists.Web/src/components/listsTable/ListsTable.tsx index a0af9acb4..60e35efe6 100644 --- a/src/FilterLists.Web/src/components/listsTable/ListsTable.tsx +++ b/src/FilterLists.Web/src/components/listsTable/ListsTable.tsx @@ -55,6 +55,7 @@ export const ListsTable = (props: RouteComponentProps & Props) => { setVisibleLists(extra.currentDataSource)}> title="Info" + key="Info" dataIndex={nameof("id")} className={styles.nogrow} fixed="left" @@ -62,6 +63,7 @@ export const ListsTable = (props: RouteComponentProps & Props) => { } /> title="Name" + key="Name" dataIndex={nameof("name")} sorter={(a, b) => a.name.localeCompare(b.name)} defaultSortOrder={"ascend"} @@ -77,6 +79,7 @@ export const ListsTable = (props: RouteComponentProps & Props) => { ? null : title="Description" + key="Description" dataIndex={nameof("description")} className={styles.nogrow} filterDropdown={searchDescriptionColumn.filterDropdown} @@ -90,6 +93,7 @@ export const ListsTable = (props: RouteComponentProps & Props) => { ? null : title="Software" + key="Software" dataIndex={nameof("syntaxId")} sorter={(a, b) => { const getSoftwareIds = (l: List) => software.filter((s: Software) => s.syntaxIds.includes(l.syntaxId)).map(s => s.id); @@ -114,6 +118,7 @@ export const ListsTable = (props: RouteComponentProps & Props) => { ? null : title="Languages" + key="Languages" dataIndex={nameof("languageIds")} sorter={(a, b) => arraySorter(a.languageIds, b.languageIds, languages)} width={125} @@ -137,6 +142,7 @@ export const ListsTable = (props: RouteComponentProps & Props) => { ? null : title="Tags" + key="Tags" dataIndex={nameof("tagIds")} sorter={(a, b) => arraySorter(a.tagIds, b.tagIds, tags)} width={275} @@ -159,6 +165,7 @@ export const ListsTable = (props: RouteComponentProps & Props) => { ? null : title="Maintainers" + key="Maintainers" dataIndex={nameof("maintainerIds")} sorter={(a, b) => arraySorter(a.maintainerIds, b.maintainerIds, maintainers)} width={191}